PluginBench
Skill
Pass
Audit score 90

ccf-skill-forger

mikubaka88/ccfa-skills

Maintain and audit CCFA skills, triggers, references, scripts, and release validation.

What is ccf-skill-forger?

Manages the lifecycle of Codex/CCFA skills including structure validation, dependency auditing, documentation updates, and SVG diagram generation. Use this when maintaining skill repositories, adapting to GPT model changes, or cleaning up family routing.

  • Audit and maintain CCFA skill structure, metadata, and SKILL.md files
  • Validate installation dependencies and release readiness
  • Generate and update CCFA architecture and workflow SVG diagrams
  • Manage skill references, scripts, and assets across the family
  • Enforce path privacy and prevent committed local credentials
  • Apply collaboration contracts and handoff modes across skill transitions

How to install ccf-skill-forger

npx skills add https://github.com/mikubaka88/ccfa-skills --skill ccf-skill-forger
Prerequisites
  • Access to the CCFA skills repository or target skills directory
  • Python 3.7+ for running validation scripts (check_path_privacy.py, build_ccfa_diagrams.py)
  • Familiarity with YAML frontmatter and SKILL.md structure
  • SVG rendering tool or browser for diagram validation (if updating diagrams)
Claude Code
Cursor
Windsurf
Cline

How to use ccf-skill-forger

  1. 1.Clarify the maintenance goal with concrete examples (audit, create, update, or validate)
  2. 2.Identify the skill name and destination directory ($CODEX_HOME/skills or ~/.codex/skills)
  3. 3.Decide the resource shape: SKILL.md only, or add references/, scripts/, and assets/ as needed
  4. 4.Run the skill-creator initializer if creating from scratch
  5. 5.Write or edit SKILL.md with trigger wording in YAML description and imperative instructions in the body
  6. 6.Add supporting resources (references, scripts, templates) that directly serve the skill
  7. 7.Validate structure, metadata, and paths using existing family checks and privacy scripts
  8. 8.For diagrams: update the generator in tools/build_ccfa_diagrams.py and regenerate all variants

Use cases

Good for
  • Auditing an existing skill for metadata conflicts or missing documentation
  • Updating SKILL.md to reflect new GPT model capabilities or API changes
  • Generating CCFA system architecture diagrams for documentation
  • Validating a new skill before release to ensure naming, structure, and dependencies are correct
  • Cleaning up routing rules and denylist entries across multiple skills
Who it's for
  • Skill maintainers and CCFA repository owners
  • Codex session managers coordinating multi-skill workflows
  • Documentation authors maintaining CCFA diagrams and references
  • Release engineers validating skill packages before distribution

ccf-skill-forger FAQ

When should I add a new resource file vs. keeping everything in SKILL.md?

Use SKILL.md only for short, stable procedural guidance. Add references/ for detailed documentation, scripts/ for repeatable deterministic operations, and assets/ for templates or boilerplate. Load resources selectively; do not scatter intermediates.

What does 'handoff_question_mode: partial' mean for this skill?

Partial mode means the skill should follow handoff-modes.md and routing.md when transitioning to sibling skills (like ccf-humanization or ccf-common). Check those references before adding new skill transitions.

How do I prevent committing local paths or usernames into a skill?

Use $CODEX_HOME, $HOME, repo-relative paths, or non-identifying placeholders. Run check_path_privacy.py before finishing maintenance to catch and replace any absolute paths or machine-specific identifiers.

Can I hand-edit SVG diagrams generated by build_ccfa_diagrams.py?

No. If you need to change a diagram, update the generator script itself and regenerate all language variants. Hand-edits will be lost on the next regeneration.

What should I do if a skill's instructions conflict with ccf-common or ccf-humanization rules?

Read and apply ccf-humanization first, then ccf-common. Reuse their active rules at every handoff. If conflicts persist, update the skill's metadata or routing to clarify precedence, and document the decision in references/.

Full instructions (SKILL.md)

Source of truth, from mikubaka88/ccfa-skills.


name: ccf-skill-forger description: "Maintain and audit Codex/CCFA skills, triggers, references, scripts, docs/SVG diagrams, installation dependencies, and release validation. Use for skill维护, GPT model adaptation, and family routing cleanup. Do not perform research writing or review." metadata: ccf_skill_controls: handoff_question_mode: partial respect_session_denylists: true protect_idea_scope_in_writing: true private_material_safety: moderate shared_controls: ../ccf-common/references/

CCF Skill Forger

Family File Contract

Before writing, resolve the canonical output and one stable working directory per task/artifact. Reuse explicit or established task paths; otherwise use project-root ccfa-workfiles/<purpose>/<artifact-id>/, with source/, assets/, cache/, and build/ only as needed. Update current files in place; do not scatter intermediates or create iteration copies. Preserve inputs and required evidence; clean only verified disposable files created by this task. Use UTF-8 text I/O and check Chinese text after saving or rendering. For file work, apply artifact-contracts.md and reuse the same paths across skill transitions.

Collaboration Contract

Before specialist execution, read and apply ccf-humanization first, then ccf-common. At every handoff, reuse their applicable active rules or refresh missing/changed ones. Both preflights are required even without prose; detailed editing, experiment, and maintenance modes run only when relevant.

Keep one integrating owner and actively use other skills to resolve missing prerequisites or check material findings. Reuse applicable evidence; do not skip necessary groundwork to save tokens. Before finalizing, integrate contributions and verify affected results. Follow the conditional cooperation routes; avoid unrelated stages and duplicate reports.

Invocation Controls

CCFA Handoff Mode: PARTIAL (Recommended). Follow metadata.ccf_skill_controls.handoff_question_mode and ../ccf-common/references/handoff-modes.md when maintaining the CCFA skill family.

When maintaining the CCFA skill family, preserve metadata.ccf_skill_controls in each SKILL.md. Do not add sibling-skill transitions without checking ../ccf-common/references/routing.md, ../ccf-common/references/task-modes.md, ../ccf-common/references/handoff-modes.md, and the denylist-respecting fallback.

If the user disables a skill or asks for writing-only behavior, encode that boundary directly in the edited skill instructions. Do not weaken idea-scope protection in writing skills unless the user explicitly requests that policy change.

When adding sources, update ../ccf-common/references/source-registry.yaml instead of duplicating URL lists in sibling skills. When adding browsing or evidence rules, keep them aligned with ../ccf-common/references/privacy-and-evidence.md.

Never commit machine-specific absolute paths, usernames, expanded home directories, or private local directory names into skills, README files, source registries, diagrams, examples, scripts, or command snippets. Use $CODEX_HOME, $HOME, repo-relative paths, or placeholders that do not identify the user or machine.

Core Rule

Build skills as compact operational guidance for another Codex session. Keep SKILL.md focused on trigger-relevant workflow, decisions, and resource navigation. Put detailed examples, checklists, schemas, policy text, or long instructions in references/ and load them only when needed. This skill also owns CCFA documentation SVG diagrams; do not create a separate runtime drawing skill for repository architecture or workflow diagrams.

Workflow

  1. Clarify the goal with concrete examples. If the user's intent is clear, proceed with reasonable assumptions. Ask only for missing information that changes the skill's scope, location, or required assets.
  2. Choose a skill name and destination. Use lowercase letters, digits, and hyphens only; keep names under 64 characters; check for conflicts in the target skills directory. Default to $CODEX_HOME/skills; if unset, use ~/.codex/skills.
  3. Decide the resource shape:
    • Use only SKILL.md for short, stable procedural guidance.
    • Add references/ for detailed documentation that Codex should read selectively.
    • Add scripts/ only for repeatable deterministic operations or fragile command sequences.
    • Add assets/ only for templates, images, boilerplate, or other files used in final outputs.
  4. Initialize the skill when creating from scratch. Prefer the local skill-creator initializer if available:
python '<skill-creator-dir>/scripts/init_skill.py' <skill-name> --path '<skills-dir>' --resources references,scripts
  1. Write SKILL.md before filling optional resources. Put all "when to use" trigger wording in the YAML description; the body is loaded only after trigger selection. Apply the functional-naming rule in shared task modes to method introductions and report titles while preserving source records and narrative content. Use imperative instructions and avoid user-facing tutorial prose.
  2. Add resources that directly support the skill. Remove placeholder files and unused directories. Test any script by running it on a small representative example.
  3. Validate changed behavior and structure using the existing family checks. Compare SKILL.md, agent prompts, registry, shared rules, and docs for conflicts. Check real YAML metadata, syntax of existing scripts, resource dependencies, and representative task boundaries; distinguish static checks from actual model evaluation. Preserve public paths and command compatibility. Do not add new files, dependencies, or evaluations when the user limits work to existing surfaces.
  4. Run ccf-common/scripts/check_path_privacy.py before finishing CCFA-family maintenance. Replace any committed local absolute path or username with $CODEX_HOME, $HOME, a repo-relative path, or a non-identifying placeholder.
  5. For CCFA documentation diagrams, work in the CCFA repository checkout and update its tools/build_ccfa_diagrams.py, regenerate all language variants, and screenshot-check rendered SVG output. Use references/svg-style-guide.md; do not hand-edit generated SVGs unless the same change is backported to the generator.

For model adaptation, use current official guidance and store its provenance in the existing source registry. Remove conflicting or redundant instructions before adding new ones. Keep model settings and API-only capabilities in the host; do not hard-code a model in every skill or claim gains without representative comparisons.

Reference Files

Load these files only when the task calls for them:

  • references/design-checklist.md: Use when planning a new skill, reviewing structure, or deciding whether content belongs in SKILL.md, references/, scripts/, or assets/.
  • references/patterns.md: Use when drafting a concrete SKILL.md shape, frontmatter description, or example-driven workflow.
  • references/local-commands.md: Use when scaffolding or validating skills on this machine, especially in PowerShell or Windows paths.
  • references/svg-style-guide.md: Use when maintaining CCFA architecture, workflow, routing, installation, artifact, catalog, or demo SVG diagrams.

Output Style

Use an already approved scheme without another confirmation. For an explicit plan-only request, stop after the reviewable proposal; for authorized maintenance, implement it in the requested existing files. After creation, report the skill name, location, key files, and validation result. If validation cannot run because a local dependency is missing, say exactly what failed and perform the manual checks from references/design-checklist.md.