agentleFS
kuker24kuker24/OpenCodeBestFriend/skills/skill-stocktake/SKILL.md

skill-stocktake

Skill0 starsChanged 2 months agoMITView on GitHub

Audit and maintain quality, hygiene, and boundary integrity across OpenCodeBestFriend skills. Checks frontmatter schema, trigger keywords, exclusivity fences, path references, and test coverage. Use when reviewing installed or warehouse skills, auditing catalog health, or cleaning up skill bloat. Not for code-level security audits (full-audit-keamanan), code style review (matt-code-review), or prompt text optimization (prompt-optimizer).

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use configure-ecc, foundation-models-on-device and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • royaluniondesign-sysSkill

    configure-ecc

    Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.

    Also in 4 projects that use this

  • royaluniondesign-sysSkill

    foundation-models-on-device

    Apple FoundationModels framework for on-device LLM — text generation, guided generation with @Generable, tool calling, and snapshot streaming in iOS 26+.

    Also in 4 projects that use this

  • HABUBUSSSkill

    project-guidelines-example

    Also in 4 projects that use this

  • loulanyueSkill

    rules-distill

    Scan skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files

    Also in 4 projects that use this

  • loulanyueSkill

    skill-comply

    Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines

    Also in 3 projects that use this

  • InfopibeSkill

    article-writing

    Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

    Also in 6 projects that use this

  • +5 more from royaluniondesign-sys

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every audited skill or command resolves to exactly one verdict.

    line 29
  2. Distinctive:

    If this file disappeared, would the user lose a job that no other skill, rule, core MCP, or cheap on-demand generation already covers?

    line 44
  3. Distinctive:

    Verify model-invoked skills do not shadow manual slash commands.

    line 60
  4. Distinctive:

    Never auto-delete a file, never auto-edit another skill's body, and never mutate a catalog from a learning log.

    line 82

“Common” is measured: kept by at least 6 in 10 of the 25 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 Stocktake

Quality audit and catalog hygiene specialist for OpenCodeBestFriend skills and commands.

This skill inspects installed skills (~/.config/opencode/skills/), manual commands (~/.config/opencode/commands/), and repository sources (skills/, manual-skills/) to maintain tight trigger discipline, clean boundaries, and zero catalog bloat.

Boundaries & Handoffs

NeedRoute
Reviewing application source code quality or standardsmatt-code-review
Auditing code security, secrets, permissions, or supply chainfull-audit-keamanan
Authoring or rewriting SKILL.md bodies and descriptionswriting-for-agents
Optimizing prompt wording and instructional clarityprompt-optimizer
Measuring whether a skill actually beats no-skilleval-harness
Auditing skill catalog hygiene, boundaries, and schema conformanceskill-stocktake

This skill audits and reports. It does not rewrite another skill's body, and it does not delete files.

Verdict Protocol

Every audited skill or command resolves to exactly one verdict. No item is left unjudged, and no item carries two verdicts.

VerdictMeaning
KEEPUnique trigger, current artifacts, defensible cost asymmetry, existence pass clears
COMPRESSStill needed, but the body is longer than the judgment it carries. Scripts and verification gates survive; prose shrinks
UPDATEArtifacts, versions, paths, or flags are stale. Requires cited evidence
MERGE → <target>Overlaps a sibling. Name the single target and the residue that moves
RETIREExistence pass fails, or the no-skill baseline matches the with-skill run, or the trigger was always covered by runtime, rules, Context7, or the model itself

Audit Methodology

Consult references/checklist.md for the full inspection protocol.

  1. Existence pass (ask explicitly, per item):
    • If this file disappeared, would the user lose a job that no other skill, rule, core MCP, or cheap on-demand generation already covers?
    • Does an independent trigger plus reusable judgment justify the selection cost, drift risk, and maintenance burden?
    • A skill that only restates what a current model does unprompted fails this pass.
  2. Currency pass:
    • Paths resolve under ~/.config/opencode/..., not foreign agent-host directories.
    • Flag references to foreign platforms and stale CLI flags, versions, or pinned artifacts.
    • Preserve greppable terms, self-enforcing prohibitions, and numeric thresholds verbatim. Do not abstract them into softer prose.
  3. Frontmatter schema validation:
    • Mandatory keys: name, description, compatibility: opencode, license.
    • name matches the directory name.
    • Description carries unambiguous positive triggers and explicit negative boundaries ("Use when... Not for...").
  4. Trigger and routing discipline:
    • Detect overlapping or competing trigger phrases across skills.
    • Verify model-invoked skills do not shadow manual slash commands.
    • Confirm each high-traffic intent has one owner.
  5. Provenance and policy parity:
    • Non-first-party skills carry a compliant NOTICE.md under MIT or Apache-2.0. Unknown license is not a grant.
    • Name is registered in vendor/skill-policy.json and listed alphabetically in vendor/skill-allowlist.txt.
    • tests/test_skills.py assertions match the measured tree, not a remembered count.

Evidence Requirement

UPDATE, MERGE, and RETIRE are not opinions. Cite at least one of: a path listing, a --help or version probe, a checksum, an upstream doc reference, or a no-skill baseline from eval-harness. An unproven claim downgrades to KEEP with a follow-up note.

Output

Report a single table, one row per audited item, plus a short list of follow-ups.

| Skill | Verdict | Evidence | Handoff |

Handoffs: COMPRESS and UPDATE go to writing-for-agents (structure, description, pointers) or prompt-optimizer (instruction phrasing). Security findings go to full-audit-keamanan. Application code style goes to matt-code-review. Utility measurement goes to eval-harness.

Never auto-delete a file, never auto-edit another skill's body, and never mutate a catalog from a learning log.

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.