Start typing to search the documentation.

Docs navigation

Skills

Create a skill to give an agent reusable guidance for a discipline, model format, calculation, editor, or other task. Put a SKILL.md file in .novaflex/skills/<skill-id> and describe when it is useful in description. Skills can complement any available tool; they do not restrict an agent to an allowlist or impose one fixed workflow.

.novaflex/skills/model-review/SKILL.md
---
name: Model Review
description: Review a building discipline model for completeness, assumptions, and coordination needs
---

## Guidance

Use the project brief, available model information, relevant references, and suitable analysis tools. Choose an approach that fits the model and current phase. Record evidence, assumptions, and unresolved coordination needs with the work.

Nova Flex advertises this skill when it is relevant. The agent can then load its instructions with the skill tool instead of adding every skill to every prompt.

Create

Keep related scripts, references, and templates beside SKILL.md:

.novaflex/skills/
└── model-review/
    ├── SKILL.md
    ├── scripts/
    │   └── analyze.py
    └── references/
        └── review-criteria.md

Paths written inside the skill are relative to the directory containing SKILL.md. The directory form is recommended because it gives supporting files a private base directory.

Discovery

Nova Flex automatically searches these locations:

ScopeSources
Global~/.config/novaflex/skills
Project.novaflex/skills

Either folder can also be named skill. For project sources, Nova Flex looks for a .novaflex folder in the current directory and in every directory above it, up to the root of the drive, and includes each one it finds.

Nova Flex does not read project .opencode/skills folders or other tools’ skill folders, such as .claude/skills and .agents/skills. Move those skills into .novaflex/skills, or list their folder in the skills config array (for example "~/.claude/skills").

Each source can contain either form:

skills/
├── review.md
└── model-review/
    └── SKILL.md
  • Markdown files must be at the source root, such as skills/review.md.
  • Files named exactly SKILL.md can be nested in grouping directories, such as skills/model-review/SKILL.md or skills/disciplines/hvac/SKILL.md.
  • A directory containing SKILL.md is one skill. Nova Flex does not search inside it for more skills.
  • Hidden files and directories and node_modules are skipped.
  • Search stops six directories below the source root.

Sources

Add more local directories or HTTP catalogs with the skills array in any opencode.json or opencode.jsonc:

opencode.jsonc
{
  "$schema": "https://novaflex.tech/config.json",
  "skills": [
    "./team-skills",
    "~/shared/opencode-skills",
    "/opt/company-skills",
    "https://example.com/opencode/skills/",
  ],
}
ValueResolution
Relative pathFrom the active Nova Flex working directory, not the config file
~/ pathFrom the current user’s home directory
Absolute pathUsed as written
http:// or https:// URLLoaded as an HTTP catalog

Every discovered config file contributes its entries. skills arrays are combined rather than replaced.

Catalogs

An HTTP catalog is a base URL with an index.json file:

index.json
{
  "skills": [
    {
      "name": "model-review",
      "version": "3",
      "files": ["model-review.md", "references/review-criteria.md"]
    }
  ]
}

For that entry, Nova Flex downloads each file from <base-url>/model-review/<file>.

RuleRequirement
PathsMust be safe, relative, and same-origin
Entry fileInclude SKILL.md or <name>.md, such as model-review.md
UpdatesIncrement version when files change so Nova Flex refreshes its cache

Each downloaded skill directory becomes a source root named after the entry, so both model-review.md and SKILL.md have the ID model-review.

Frontmatter

Use frontmatter to name the skill and control where it appears:

SKILL.md
---
name: Model Review
description: Review a building discipline model and its coordination assumptions
metadata:
  opencode/autoinvoke: false
---

Review the supplied model and supporting information. Record findings with evidence, and surface assumptions or cross-discipline questions that need resolution.
FieldBehavior
nameDisplay name; defaults to the path-derived ID
descriptionSummary used to show the skill to the model
metadata.opencode/autoinvokeSet to false to omit the skill from the model’s available list
disable-model-invocationSet to true for the same effect as opencode/autoinvoke: false

All frontmatter is optional at runtime. Add a clear description when the model should discover the skill; skills without one are not advertised.

opencode/autoinvoke: false only hides the skill from the model’s available list. The skill remains registered and can still be loaded explicitly by ID. When both disable-model-invocation and opencode/autoinvoke are set, opencode/autoinvoke wins. V2 accepts portability fields such as license and compatibility but does not interpret them.

IDs

The file path determines the skill ID. The frontmatter name is only a display label.

FileID
<source>/model-review.mdmodel-review
<source>/model-review/SKILL.mdmodel-review
<source>/disciplines/hvac/SKILL.mdhvac

IDs are exact and case-sensitive. For portable skills, use a unique lowercase kebab-case ID of 1–64 characters and keep it aligned with the directory name:

^[a-z0-9]+(-[a-z0-9]+)*$

V2 currently does not enforce this pattern, the 1–64 character recommendation, a match between name and the directory, or a maximum description length.

Precedence

Skills are selected by ID. If two sources define model-review, the source registered later supplies the skill that Nova Flex loads:

~/.config/novaflex/skills/model-review/SKILL.md  ← lower precedence
.novaflex/skills/model-review/SKILL.md           ← loaded

Sources are registered from lower to higher precedence:

  1. Built-in skills
  2. ~/.config/novaflex/skills
  3. Explicit skills config entries, in config priority and array order
  4. Project .novaflex/skills, from the farthest ancestor toward the current directory

Avoid duplicate IDs unless you intend to override an earlier skill.

Loading

At each model step, Nova Flex lists permitted skills that have a description and do not set opencode/autoinvoke to false. The list includes only the ID, name, and description, not the full Markdown body.

The model loads a skill by calling the skill tool with its exact ID:

skill tool input
{
  "id": "model-review"
}

Nova Flex then:

  1. Selects the current definition for that ID.
  2. Checks the selected agent’s skill permission.
  3. Adds the Markdown body, without frontmatter, to the conversation.
  4. Provides the skill’s base directory and a sample of up to ten supporting file paths.

To load a skill yourself, mention it in your prompt as @skill-id.

Supporting file contents are not loaded automatically. The agent reads them when the skill directs it to do so. The file sample is available for directory-based SKILL.md skills; flat Markdown skills do not receive a neighboring file list.

Permissions

Use the skill action and the skill ID as the resource. Rules run in order, and the last matching rule wins:

opencode.jsonc
{
  "permissions": [
    { "action": "skill", "resource": "*", "effect": "allow" },
    { "action": "skill", "resource": "internal-*", "effect": "deny" },
    { "action": "skill", "resource": "experimental-*", "effect": "ask" },
  ],
}
EffectBehavior
allowAdvertises and loads matching skills without approval
askAdvertises matching skills and asks before loading them
denyHides matching skills from the model and rejects loading

Place the same rules under agents.<id>.permissions to apply them only to one agent.

Troubleshooting

For example, a skill’s ID is its source directory name, not its frontmatter display name:

.novaflex/skills/model-review/SKILL.md
                            └─ ID: model-review

If a skill is missing or loads the wrong content:

  1. Confirm the file is either a root-level *.md or a nested file named exactly SKILL.md.
  2. Check the path-derived, case-sensitive ID rather than the frontmatter name.
  3. Add a description if the model should discover the skill.
  4. Check opencode/autoinvoke and the selected agent’s skill permissions.
  5. Look for a later source that defines the same ID.
  6. For HTTP catalogs, verify index.json, same-origin file paths, and a changed version.