agentleFS
dawn840705dawn840705/codex-code-studios/skills/skill-test/SKILL.md

skill-test

Skill17 starsChanged 3 months agoMITView on GitHub

Validate Code Studios skill and role files with the repository's executable Codex-format linter. Use when a SKILL.md or orchestrator role guide changes, before release, or when the user requests a plugin compliance audit. Do not use as a behavioral test for an unrelated consumer project.

18 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the executable linter as the source of truth.

    line 8
  2. Very specific:

    If the named skill does not exist, report BLOCKED and the missing path.

    line 17
  3. Very specific:

    Use $skill-improve NAME for one failing skill.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Test

Use the executable linter as the source of truth. Do not reproduce its verdict by manually scanning files when Python is available.

Phase 1: Select scope

  • static all or no argument: all skills plus all orchestrator role guides.
  • static NAME: only ../NAME/SKILL.md.
  • audit: full roster, frontmatter, duplicate-description warnings, and counts.

If the named skill does not exist, report BLOCKED and the missing path.

Phase 2: Run the Codex-format linter

For the full roster, run from this skill directory or resolve the paths to the same plugin root:

python3 ../../scripts/lint_skills.py \
  .. \
  ../studio-orchestrator/references/roles \
  --baseline ../../scripts/lint_baseline.json

For one skill:

python3 ../../scripts/lint_skills.py ../NAME \
  --baseline ../../scripts/lint_baseline.json

Exit 0 means no new structural failure. Exit 1 means at least one new failure; warnings and explicitly baselined debt remain visible. Exit 2 means the invocation or target is invalid.

The linter requires Codex skill frontmatter fields name and description, checks body structure and verdict/handoff conventions, and evaluates routing description quality. Role references require name and description only; Claude-only fields such as model, tools, and maxTurns must not return.

Phase 3: Verify manifest counts

For audit and static all, also run:

pytest -q ../../tests/test_manifest_sync.py ../../tests/test_skill_lint.py

Confirm that .codex-plugin/plugin.json advertises the filesystem count and that every docs/agent-packs.yaml role exists under the orchestrator references.

Phase 4: Report

Report:

  • files checked;
  • new failures, warnings, and baselined failures separately;
  • manifest/roster test result;
  • exact next file to fix.

Return COMPLIANT only when the linter exits 0 and required tests pass. Return NON-COMPLIANT for a new failure and BLOCKED when required tooling is missing.

Recommended next

Use $skill-improve NAME for one failing skill. If only routing-description warnings remain, batch those separately rather than mixing them with a structural fix.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.