Skip to content
🤖 Consolidated, AI-optimized SKF docs: llms-full.txt. Fetch this plain text file for complete context.

How It Works

Skill Forge reads your code, extracts what your AI agents actually need, and compiles it into instructions with citations. This page walks through what that looks like end-to-end. For the machinery behind it, see Architecture. For what ships inside a skill, see Skill Model.


Your AI agent keeps hallucinating cognee API calls. You run one command:

@Ferris QS https://github.com/topoteretes/cognee

In under a minute, you get a SKILL.md your agent can load — with every instruction traceable to a specific file and line in cognee’s source code. Here’s what happens between those two moments.

QS is a trigger — short for Quick Skill. Ferris is the single AI agent that runs every Skill Forge workflow. He reads the trigger, loads the Quick Skill workflow, and prepares the context he needs to do the job.

Ferris confirms the repository exists, detects its language, finds its version from the source manifest (pyproject.toml, package.json, etc.), and records the exact commit SHA he’ll read from. This is the anchor — everything that follows traces back to this one commit.

He reads cognee’s source code, identifies the public exports, and pulls out function signatures, parameter types, and return types. Quick Skill always extracts at community quality — it does the same job whatever tools you have installed, reading the source directly to ground every signature. Nothing is invented — if he can’t cite it, he doesn’t include it.

Each instruction in the output carries a receipt:

await cognee.search( # [AST:cognee/api/v1/search/search.py:L26]
query_text="What does Cognee do?"
)

That tag means: this came from AST extraction of this exact file at this exact line. You can click through to the upstream source at the pinned commit and see it yourself.

Ferris writes a SKILL.md (the full instruction manual your agent loads on demand) and a context-snippet.md (an 80–120 token index) alongside it. The snippet is the always-on reminder — “This skill exists; read it before writing cognee code.” — but it isn’t wired in automatically: when you run export-skill, the snippet gets injected into your platform context file (CLAUDE.md, AGENTS.md, or .cursorrules). Both halves are load-bearing — see the Dual-Output Strategy for why.

Alongside the skill, Ferris leaves a metadata.json (the pinned source, commit SHA, and export count) and a timestamped result contract recording exactly what was written. Commit these with the skill and any teammate — or any skeptic — can see what was built from which commit.

That’s the whole pipeline. One trigger in, one verifiable skill out, every claim traceable back to a file and a commit.

Quick Skill is the fastest path, not the most thorough one. When you want a full audit trail — a provenance-map.json of every receipt and an evidence-report.md build log, both produced from a skill-brief.yaml — run the brief-driven create-skill path instead.


  • Architecture — how Ferris loads workflows, how sub-agents handle large extractions, how the 7 tools resolve conflicts, where artifacts land on disk
  • Skill Model — what a skill contains, confidence tiers (T1 / T2 / T3), capability tiers (Quick / Forge / Forge+ / Deep), and the dual-output strategy
  • Verifying a Skill — the 60-second audit recipe and how completeness scoring works
  • BMAD Synergy — how SKF fits alongside BMAD Method, TEA, BMB, and other modules