Skip to content

nf skill

Read or export the agent skill bundled with the installed nf CLI. These commands do not load an app, contact providers or change infrastructure.

Read the guidance

nf skill
nf skill show
nf skill show --topic authoring
nf skill show --topic execution
nf skill show --topic migration
nf skill sections

nf skill and nf skill show print the same SKILL.md as plain Markdown, including its YAML frontmatter. Output is not wrapped or rendered by Rich, so an agent can consume it directly or a person can save it to a file.

Topic Content
overview (default) Task routing, execution boundaries and verification guidance
authoring Constructors, provider bindings, versions and runtime values
execution Saved plans, approval settings, credentials, deferred work and recovery
migration Conversion, discovery, manifests and explicit adoption

Exclude topics or sections

--exclude SECTION is repeatable. List valid IDs with nf skill sections, then omit an entire reference topic or an individual Markdown section:

nf skill show --exclude migration
nf skill show --topic execution --exclude execution/credentials-and-long-runs
nf skill --exclude migration --exclude authoring/test-without-deploying

Whole-topic IDs are authoring, execution and migration. Individual sections use topic/heading-slug, including overview/... for sections of the entry point. The overview file itself is retained so an exported folder remains a valid skill. A section's child headings and content are omitted together. Headings inside code blocks are not sections. Unknown IDs fail instead of silently exporting unfiltered guidance. Requesting a topic that is also excluded is an error.

These flags filter guidance, not nf command permissions. Other included sections can still mention related concepts; excluding migration does not disable imports or adoption in nf.

Export a skill folder

nf skill install
nf skill install --path ./agent-guidance/netherframe
nf skill export --path ./agent-guidance/netherframe --exclude migration

export is an alias for install; both accept the same options.

The default directory is .agents/skills/netherframe, relative to the current directory. The exported folder contains SKILL.md, focused references/ and UI metadata under agents/. It can be copied as a unit to an agent's supported skill location.

Option Meaning
--path PATH Exact destination skill directory, not its parent
--force Replace bundled files in an existing directory; remove excluded bundled references and preserve other files
--exclude SECTION Omit a whole topic or topic/heading-slug; repeat for multiple exclusions

Excluded topic references are not copied, and their entry-point links are removed. Filtered copies retain the exclusions in their refresh/reference commands so agents do not accidentally reload the omitted sections. With --force, a reference that was exported previously and is now excluded is removed. Unrelated project notes are preserved.

An existing destination is refused unless --force is given. Non-file collisions and symlink entries in the skill are refused before writes. Installation does not edit an agent's settings or a project's AGENTS.md, and does not grant deployment authorization.

Update after upgrading nf

nf skill install --force --exclude migration

The bundled guidance is versioned with the CLI. Repeat your exclusions when updating an export; omitting them installs the full skill again. Review local edits before replacing bundled files. Keep project-specific instructions in a separate file so an update can preserve them. Check nf <command> --help when working with another nf version.

See using nf with AI agents for project setup and examples.