nbp-skillforge AGENTS.md

nbp-skillforge AGENTS.md is an instructions file for Codex, OpenCode from nbpadilha/nbp-skillforge. It costs 524 tokens per session, scanned A, original, MIT.

Instructions for nbp-skillforge, a tool that assembles agent skill files from reusable text blocks and checks that generated files match their recipes.

In plain words
What is it for?
Use them when changing skill recipes or reusable blocks, building generated skills, checking for drift, or running the project tests.
Why use it?
They prevent edits to generated files from being lost and require tests, consistency checks, and documentation updates before finishing.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/nbpadilha/nbp-skillforge/agents-md
Clone the repo
git clone --depth 1 https://github.com/nbpadilha/nbp-skillforge

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nbp-skillforge AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nbpadilha/nbp-skillforge/agents-md.svg)](https://agentmods.dev/instructions/nbpadilha/nbp-skillforge/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nbpadilha/nbp-skillforge/agents-md"><img src="https://agentmods.dev/badge/instructions/nbpadilha/nbp-skillforge/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 524 This file is loaded in full into every session.
When invoked 524 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00524 $0.00524
Opus 5 $0.00262 $0.00262
Sonnet 5 $0.00105 $0.00105
Haiku 4.5 $0.00052 $0.00052

Measured 4d ago against content hash bff12af9d6e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nbp-skillforge AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 33 lines

What it actually says

AGENTS.md

Guidance for AI agents (and humans) working in this repo. Public and intentionally short.

What this is

nbp-skillforge composes portable agent skills (SKILL.md / slash-command files) from reusable bricks, with a drift-gate. A recipe points to bricks; forge build assembles the final self-contained file; forge check fails if any generated file drifted from its recipe.

The one rule that matters

Never hand-edit generated output. Files under the configured out/ directory carry a GENERATED banner — they are build artifacts. To change one, edit the recipe (recipes/<name>.md) or the brick (bricks/<path>.md) it includes, then run forge build. Composition lives in the recipe; bricks do not include other bricks (enforced at build) — except inside a fenced code block (``` / ~~~), where an include directive is never expanded or enforced, so a brick can safely document the include syntax as a fenced example.

Before you finish a change

  • node --test is green (zero-dep node:test suite).
  • node bin/cli.mjs check --root examples reports in sync (the drift-gate; also runs in CI).
  • Docs updated in the same change: README.md, SPEC.md, CHANGELOG.md when behavior changes.

Conventions

  • Zero runtime dependencies. Adding one needs a strong, explicit reason.
  • Node ≥ 18, ESM. Source in src/ (engine + lifecycle + hooks), CLI in bin/cli.mjs.
  • Output is vendor-neutral — no proprietary pointer syntax leaks into generated files.
  • Destructive operations are soft by default (recoverable in _archive/).
  • Conventional Commits: feat / fix / docs / refactor / test / chore.

See CONTRIBUTING.md for setup details and SPEC.md for the format. To adopt nbp-skillforge in your project autonomously, hand an agent AGENTS-SETUP.md — an end-to-end setup runbook with execution gates.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 33 lines · 524 tokens per session scan A bff12af9d6e6

Subscribe to this mod's changes

nbp-skillforge AGENTS.md is an instructions file published in the GitHub repository nbpadilha/nbp-skillforge (8 stars, last pushed 1mo ago), licensed MIT. It adds 524 tokens to every session, about $0.0026 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.