Use Netherframe with AI agents
Give an agent nf's actual constructor and execution rules before it changes infrastructure code. The installed CLI ships a skill with short task guidance and focused references; it works without access to this documentation site.
Start in the terminal
Ask the agent to read:
uv run nf skill
Then it can load the relevant reference:
uv run nf skill show --topic authoring
uv run nf skill show --topic execution
uv run nf skill show --topic migration
The command only prints packaged Markdown. It does not discover apps, start providers or need cloud credentials. The skill explains how nf differs from APIs an agent may remember from Terraform, CDK or older examples.
Add it to a project
uv run nf skill install
This writes .agents/skills/netherframe/, including SKILL.md and its references. For an
agent that discovers skills there, keep the folder with the project according to your
team's source-control convention. For another skill location, pass the full destination:
uv run nf skill install --path ./agent-skills/netherframe
The command exports files; it does not register them in an agent application. Follow that
application's skill-loading procedure if it does not scan your chosen location. You can
also point it directly to SKILL.md, or have it run nf skill at the start of a task.
Limit the guidance for a project
List the available topic and section IDs, then export only the guidance you want included:
uv run nf skill sections
uv run nf skill export --path .agents/skills/netherframe \
--exclude migration --exclude execution/credentials-and-long-runs
You can use the same flags with nf skill show or with the default nf skill output.
Excluding a whole topic omits its reference file and its routing link. Excluding an individual
section removes that heading, its content and any child sections. The exported entry point
keeps those exclusions in its reference and refresh commands.
To narrow an existing export, repeat the exclusions with --force; old bundled reference
files that are now excluded are removed, while unrelated project files remain. Repeat your
exclusions after upgrades. This scopes instructions only; it is not a permission or command
restriction, and other included sections may discuss related concepts.
Give the agent a concrete task
For an authoring change:
Read the Netherframe skill, then add a storage stack using the project's existing provider and ID conventions. Test its synthesized configuration. Prepare a plan if credentials are available; applying infrastructure is outside this task.
For investigating a failed run:
Read the execution reference from
nf skill. Inspect the original failure and recovery notes, identify what already completed, and prepare the smallest corrective change and a fresh plan. Use the existing backend.
Adjust those scopes to what you actually want done. The skill preserves existing user instructions and authorization; it is guidance, not an approval to deploy or access credentials.
What the skill covers
The entry point teaches the agent to inspect [tool.nf], use the right interpreter, and
distinguish a configured app from a filesystem stack path. The references cover the parts
that commonly cause incorrect code or unsafe retries:
- explicit
nf_scope/nf_id, generated argument names and stable resource identities - provider bindings versus provider binaries, including binding revisions
- eventual values and dependencies instead of eager Python evaluation
- saved whole-app plans, deferred rounds and separate import approval
- partial apply, state persistence errors and recovery limits
- conversion and explicit ownership mapping through adoption manifests
It does not include your organization's environment names, backend locations or deployment policy. Keep those in the project's own instructions and configuration.
Keep guidance aligned with nf
After upgrading the CLI, read nf skill again or update the export with
nf skill install --force with the same exclusions, if any. The update replaces bundled files and preserves other files in
the folder, so keep project notes separate from the bundled SKILL.md and references.
Use the CLI reference for exact options. For human walkthroughs, start with tutorials; for validating an agent's changes, use testing an app and reviewing a saved plan.