SubFrame: Skill for Claude Code

.agents/skills/sub-docs/SKILL.md

sub-docs is a skill for Claude Code from Codename-11/SubFrame. It costs 32 tokens per session (714 once invoked), scanned A, original, MIT.

A documentation-maintenance skill for SubFrame projects. It updates project files that record structure, decisions, changes, and available modules or components.

In plain words
What is it for?
It reviews recent changes and updates AGENTS.md lists, the changelog, PROJECT_NOTES.md, and STRUCTURE.json when appropriate. It can infer the changes from the project or use a supplied description.
Why use it?
It reduces the manual work of keeping documentation accurate after a feature is added. It helps prevent project notes and change records from falling behind the code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is Codename-11/SubFrame's own configuration. It tells Claude Code how to work on SubFrame itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SubFrame configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Codename-11/SubFrame. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Codename-11/SubFrame/main/.agents/skills/sub-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Codename-11/SubFrame

Made for: Claude Code.

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 sub-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/codename-11/subframe/sub-docs/github.svg)](https://agentmods.dev/skills/codename-11/subframe/sub-docs)
Your own site
<a href="https://agentmods.dev/skills/codename-11/subframe/sub-docs"><img src="https://agentmods.dev/badge/skills/codename-11/subframe/sub-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sub-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/codename-11/subframe/sub-docs"><img src="https://agentmods.dev/badge/skills/codename-11/subframe/sub-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00032 $0.00714
Opus 5.5 $0.00013 $0.00286
Sonnet 5.5 $0.00006 $0.00143
Haiku 4.5 $0.00003 $0.00071

Measured 1mo ago against content hash a54fcd2fd53b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sub-docs 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 1mo 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/skills/sub-docs/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SubFrame Documentation Sync

After significant feature work, synchronize all SubFrame documentation references. This skill automates the "Before Ending Work" checklist.

Dynamic Context

Current version: !node -e "console.log(require('./package.json').version)" 2>/dev/null || echo "unknown"

Recent commits (last 10): !git log --oneline --no-decorate -10 2>/dev/null || echo "No git history"

Files changed (unstaged + staged): !git diff --name-only HEAD 2>/dev/null | head -30

Instructions

Argument: $ARGUMENTS

The argument should describe what feature/changes were made. If empty, infer from recent git changes.

Step 1: Identify What Changed

Read the recent changes (git diff, argument context) and categorize:

  • New source modules → update AGENTS.md module lists (if applicable)
  • New components → update AGENTS.md component lists (if applicable)
  • Architecture decisions → add to .subframe/PROJECT_NOTES.md Session Notes
  • User-facing features → add to .subframe/docs-internal/changelog.md under [Unreleased]

Step 2: Update AGENTS.md

Read AGENTS.md and update only the sections that need changes. If AGENTS.md has module/component lists, add new entries. Preserve existing formatting and ordering.

Rules:

  • Only add genuinely new entries — don't duplicate
  • Keep formatting consistent with existing entries
  • Don't modify user-written content outside SubFrame-managed sections

Step 3: Update Changelog

Read .subframe/docs-internal/changelog.md and add entries under ## [Unreleased].

Format: Follow the existing changelog style:

  • Group under ### Added, ### Changed, ### Fixed, ### Removed
  • Bold feature name, em-dash, brief description
  • Sub-bullets for implementation details

Step 4: Update PROJECT_NOTES (if architecture decision)

If the work involved an architecture decision worth preserving, add a session note to .subframe/PROJECT_NOTES.md under ## Session Notes.

Read the full file on GitHub · 93 lines

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. 1mo ago First seen · 93 lines · 32 tokens per session scan A a54fcd2fd53b

Subscribe to this mod's changes

sub-docs is a skill published in the GitHub repository Codename-11/SubFrame (10 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 714 once invoked, about $0.0001 per session on Opus 5.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.