SkillsReviewed · majiayu000

agentsmd-scaffold

agentsmd-scaffold is a skill for developers creating repository instructions for AI coding assistants, but its scanner's suggestions require manual verification. It helps plan root and directory-specific AGENTS.md files using repository evidence, with a Python scanner and templates for common development areas.

Researched 16 Nov 2026

In short.

agentsmd-scaffold is a skill for developers organizing instructions for AI coding assistants, with the catch that its automated suggestions do not establish which commands or directory rules are correct. It guides an assistant through repository discovery, a proposed instruction hierarchy, optional file changes and validation. The scanner supplies an inventory and heuristic hints; actual manifests, scripts and CI configuration must establish the final guidance. Nothing was executed, so installation, output quality and assistant behavior remain untested.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/agentsmd-scaffold folder: SKILL.md, references/scaffold-agents.md, scripts/scan_repo_context.py and evals/evals.json, plus the related repository-root LICENSE outside that folder. Other Spellbook skills, including repo-agent-context-audit, and the rest of the repository are excluded. Original source locations and the pinned revision identify the resource. No installation, scanner execution, generated-instruction trial or repository validation was performed; behavioral outcomes remain unverified.

The overview

identity

agentsmd-scaffold is part of majiayu000/spellbook. It contains SKILL.md, a scaffold reference guide, a Python repository scanner and an evaluation JSON file. Its intended output is AGENTS.md guidance: repository files that tell coding assistants how to work within a project.

The original skill folder at the captured revision is [https://github.com/majiayu000/spellbook/tree/7f55e67969fb54a1b01de822791c0c0cd8afa6a5/skills/agentsmd-scaffold].

assessment

The resource offers a concrete approach for repositories with scattered instructions, oversized instruction files, generated outputs or directory-specific validation needs. Its useful design choices include preserving existing guidance, requiring evidence for commands and proposing only scoped files with distinct local rules.

The supplied material establishes the intended process, but does not demonstrate better instruction following, faster development or successful generated files. The evaluation examples contain expected behavior without recorded outcomes.

users

It is aimed at maintainers preparing repositories for Codex, Claude or other coding-agent workflows. Beginners receive explicit discovery steps and a proposed-plan format, but still need enough project knowledge to recognize authoritative commands and generated-file boundaries.

Experienced developers can use its templates for scripts, tests, generated metadata and skill libraries. Teams with different rules across packages or operational directories are a particularly relevant audience; small repositories may need only a short root file.

capabilities

The skill guides an assistant to propose file locations, explain their purpose, draft exact contents and apply changes when explicitly requested. It recommends root files normally around 80–150 lines and nested files only where directory rules differ.

The scanner inventories recognized instruction files, supporting README files, local skills, selected specification files and top-level manifests. It reports structural statistics, command hints, possible scoped-file locations and high-context files exceeding 200 lines, with Markdown or JSON output.

Using it

requirements

Agent-led use requires a coding assistant that can load the instructions and inspect the target repository. Applying proposed files also requires write access. Supported assistant versions and a host-specific installation procedure are not documented.

The optional scanner is a Python 3 script with standard-library imports and requires local repository read access. A minimum Python version is not specified. Any subsequent build, lint or test validation needs the target project's own tools and dependencies.

mechanism

The documented process starts with existing instruction files, developer documentation, manifests, CI workflows, generators and sensitive project areas. The assistant then proposes the smallest useful instruction hierarchy, identifying files to preserve and facts that remain unknown before making authorized changes.

The scanner walks the repository using a fixed ignored-directory list and recognizes files by names and paths. It counts text structures and derives candidate locations from a fixed set of top-level directories. It does not execute suggested commands or determine whether instruction content is semantically correct.

setup

Keep SKILL.md together with its references, scripts and evals directories when obtaining the skill folder, and retain the applicable licence notice when copying or distributing it. The supplied material does not establish how a particular assistant discovers or registers this skill.

From the skill directory, the documented optional scanner command is python3 scripts/scan_repo_context.py <repo-root>. Adding --json requests structured output. These commands were not run. The guide calls for inspecting the actual repository files before turning scanner hints into instructions.

example

One bundled scenario concerns a repository with README.md, package.json, scripts, tests and generated OpenAPI clients under src/generated. The requested result is a scoped AGENTS.md plan with validation commands, leaving files unchanged.

A useful response would investigate the client generator and documented checks before proposing generated-file rules. Separate scripts or tests instructions would need distinct local conventions to justify them. This describes the intended use case; no actual plan or validation result is supplied.

Assessment & evidence

limitations

Command hints are heuristic. Existing package.json script names become npm run commands; Cargo.toml and go.mod trigger generic Cargo and Go commands. A pyproject.toml or pytest.ini triggers pytest, and tsconfig.json triggers npx tsc --noEmit. These hints do not establish the correct package manager, test framework, workspace configuration or installed dependencies. Only root-level manifests contribute command hints.

Directory candidates do not establish that local rules differ. Source counts recognize only Go, JavaScript/JSX, Python, Rust and TypeScript/TSX, so candidates for source directories can be missed when they contain only other languages. The recursive source-counting pass also lacks the main walk's ignored-directory filtering, allowing excluded dependency or build files to affect candidate signals.

Line counts and structural statistics cannot establish instruction quality, and no runtime evidence demonstrates scanner reliability or assistant compliance.

reasoning

The skill is useful when a team needs to turn established repository practices into concise agent guidance. Its planning format connects every proposed file with a reason, specific rules and validation, while its open-facts requirement makes missing knowledge visible.

The main practical risk is treating scanner suggestions as established repository rules. That could produce unnecessary nested files or direct an assistant toward inappropriate validation commands. The documented manual inspection step is therefore central to the resource's usefulness.

alternatives

The guide itself offers simpler options: retain an effective CLAUDE.md or WARP.md, add only a short AGENTS.md pointer when cross-runtime routing helps, or keep shared rules in one parent file. A small repository may need only root-level commands.

It names repo-agent-context-audit for broader questions about repository instruction health. That separate skill is outside the supplied scope, so its implementation and effectiveness are unknown.

evidence

The supplied evidence comprises the skill instructions, scaffold reference, complete scanner source, evaluation JSON and repository-level MIT notice. The three evaluation scenarios cover generated clients, a Rust workspace with an oversized CLAUDE.md, and a skill library.

The evaluation JSON provides prompts and expected outputs, without observed responses, scores or execution results. Nothing was executed: installation, scanner output, generated files and resulting coding-agent behavior were not tested.

Access & freshness

costs

The supplied files specify no purchase price, subscription requirement, model choice, token consumption or runtime measurements. Total operating cost is unknown. Costs for the chosen coding assistant, model provider and repository validation work are not established.

rights

The supplied repository-level MIT licence names majiayu000, copyright 2025–2026. It permits use, copying, modification, publication, distribution, sublicensing and sale, subject to including the copyright and permission notices in copies or substantial portions. It also disclaims warranties and liability.

No separate skill-specific licence notice appears in the supplied folder files. Rights in a target repository's content or resulting instruction files are not separately established by this material.

freshness

The supplied snapshot identifies source revision 7f55e67969fb54a1b01de822791c0c0cd8afa6a5, captured on 16 November 2026 at 22:32:42.953 UTC. Findings apply to that revision.

The main-branch folder may change after capture. A separate release version, later upstream changes and compatibility with current assistant releases are not established.

actions

Start with a plan for one repository and require the assistant to identify the actual file supporting each command, generator boundary and directory-specific rule. Review how existing instruction files will be preserved before requesting applied changes.

After applying an approved scaffold, use the repository's verified validation commands. If using the scanner, rerun it to check whether the new scoped files are discoverable; successful discovery alone would not demonstrate that an assistant follows them.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/agentsmd-scaffold/SKILL.mdselected · checked 2026-11-16
skills/agentsmd-scaffold/evals/evals.jsonselected · checked 2026-11-16