Skills and Instructions

Imza’s behavior is shaped by Markdown you control: per-task skills ($name) and a project-wide instruction file.

Manage Skills

Skills

Skills are reusable instruction bundles, discovered during workspace scanning from SKILL.md files, each inside its own named directory:

<parent>/<skill-name>/SKILL.md
ScopeLocations
Global~/.claude/skills, ~/.codex/skills, ~/.opencode/skills, ~/.grok/skills, ~/.gemini/skills, ~/.agents/skills, ~/.cursor/skills, ~/.openclaw/skills, and <config-dir>/agents/skills
Projectthe same directory names, inside the project root (e.g. <project>/.claude/skills)

<config-dir> is $XDG_CONFIG_HOME (or ~/.config) on Linux, ~/Library/Application Support on macOS, %APPDATA% on Windows.

The display name is the directory name. A description: field in YAML front matter gives the short text shown in the skills list; the rest of the file is the instruction body, loaded only on activation. When a skill name exists in both scopes and no scope is given, the project skill wins.

Activating a Skill

Two paths, same behavior:

  • You mention it: type $name in the prompt (autocomplete on $; see the workflow page).
  • The model requests it through its load_skill tool, optionally with an explicit project or global scope.

Activation loads the instruction text and appends it to the system prompt of subsequent turns for the session. The skill’s own folder becomes readable too, so its scripts and reference files stop asking; writing there still follows the ordinary rules.

Policies

Each skill has a policy of allow, ask, or deny:

PolicyEffect
AllowActivates immediately when mentioned or requested.
AskAn approval modal appears first (attended runs only). Refusing cancels the load.
DenyExcluded; the model is told it is unavailable.

Skills without an explicit policy default to ask. Policies are saved to the skills section of your configuration and apply as soon as you choose them. Manage them in /skills: ↑↓ rows · ←→ policy · Space/Enter open the policy list and confirm · DEL remove the skill from disk (with a confirmation).

The section separates global policies from projects policies keyed by project root path. A policy set in one repository does not follow you to another. See Configuration for the shape.

Bundled Skills

Imza ships its own user manual as a bundled skill, imza-docs, so the agent can answer questions about Imza itself. Bundled skills are part of the application, not your configuration: they cannot be removed, and a policy entry naming one has no effect.

Writing a Skill

/make-skill <description> drafts a skill from a workflow description. It explores the repository first, then writes <project-root>/.agents/skills/<name>/SKILL.md with YAML front matter and numbered steps, plus any helper scripts the workflow needs. The new skill appears in $ autocomplete after the next workspace scan.

The description is capped at 2000 characters.

Installing Skills

The second tab of /skills, Search, browses the skills.sh catalogue. Press Tab to switch to it; results appear as you type, each showing where it comes from and how many people have installed it. Skills you already have are marked ✓ installed. Enter installs the selected skill into <config-dir>/agents/skills/<slug>/, the location shared with other agents, and DEL removes it. Newly installed skills show up right away in the Manage tab and in $ autocomplete, with no restart needed.

By default, searches and installs go to skills.sh. Set IMZA_SKILLS_URL to point Imza at your own mirror instead, as long as it speaks the same API.

Skill Installation

Project Instructions

When Imza opens a project it looks for an agent instruction file at the project root:

AGENTS.md
CLAUDE.md
GEMINI.md

The first non-empty file wins (capped in size). Its content becomes part of the system prompt for every turn in that workspace.

The project root is the enclosing Git repository root, or the working directory itself when no repository is found. Changing the working directory rescans instructions, skills, and repository state.

Additional Instruction Files

Your configuration can name extra files to load after the project instruction file. Use it for conventions that live outside the repository, such as a shared house style or guidelines you do not want to commit. Open the configuration with imza --config and add an instructions list:

{
  "instructions": ["CONTRIBUTING.md", "docs/style.md", "/home/me/rules.md"]
}

Paths are resolved relative to the project root (or the working directory when there is no project root), and absolute paths are used as given. Each file is appended in the order listed, under the same 32 KiB cap as AGENTS.md. Files that do not exist are skipped, so one list can be shared across machines. See Configuration for the key.