agentleFS
wxxb789wxxb789/hoa/skills/hoa-introspect-distill/SKILL.md

hoa-introspect-distill

Skill2 starsChanged 52 days agoMITView on GitHub

Qualify supplied repeatable-work findings into individually approved skill or opted-in rule/config candidates. Use when the user wants candidates assessed before choosing an asset, or approves one candidate from an hoa-introspect report. Use hoa-skill-work for direct creation or evolution of a defined skill; use hoa-introspect to discover work patterns in history.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When no history evidence exists, label its basis user-provided.

    line 25
  2. Distinctive:

    Default target: Create a skill. A rule, AGENTS.md, or config edit is opt-in and requires the same item-specific approval plus the PII gate …

    line 28
  3. Distinctive:

    If no compatible creator is found, use inline authoring.

    line 55
  4. Distinctive:

    Never describe a hand-off that did not happen.

    line 56
  5. Distinctive:

    Do not pad candidates to five.

    line 70
  6. Distinctive:

    Keep personal paths, secrets, session ids, and raw history out of tracked assets and chat echoes.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

hoa-introspect-distill

Turn repeatable work into a small reusable asset, but only after the operator approves that exact asset. This skill proposes; it never converts an interesting pattern into a tracked capability by itself.

Contract

Input. Take an hoa-introspect repeatable-work finding or a user description offered for qualification, not a direct authorization to create a defined skill. When no history evidence exists, label its basis user-provided; do not imply an audit occurred. Consume only the minimal report shape in intake schema.

Default target. Create a skill. A rule, AGENTS.md, or config edit is opt-in and requires the same item-specific approval plus the PII gate before any write outside a skill package.

Output. Maintain one state per candidate: draft, ready-for-review, approved, rejected, or needs-revision. An approved item yields a creation report containing its name, location or id, mechanism, review/enablement still needed, and a concise spec-versus-created diff.

Workflow

  1. Intake and qualify. Reuse evidence supplied by hoa-introspect; do not re-audit. With evidence, prefer stable multi-step work observed at least three times across two projects. Reject work already covered, narrowly project-specific work, and one-offs. A user-provided pattern may still qualify, but retain the user-provided label.
  2. Draft, do not create. Draft identity, contract, workflow, and basis for each qualifying candidate. Rank by expected gain. Five is a ceiling, not a quota: zero qualifying candidates is a correct outcome.
  3. Review one candidate at a time. Present each as ready-for-review. Incorporate focused feedback, but cap refinement rounds per candidate (default: two); then ask whether to approve, reject, or stop. Follow the approval state machine.
  4. Gate on an explicit item token. Resolve candidates with scripts/approval.py:resolve_approval. Create exactly one asset only for its one selected ready-for-review id. “Looks good,” an empty token, a repeat/group token, or an unknown id is ambiguous: create nothing, halt, and ask which candidate is approved.
  5. Discover or author inline. Probe for the current runtime’s native skill creator and adapt to the interface actually found. Never assume a Claude-only command exists. If no compatible creator is found, use inline authoring. Never describe a hand-off that did not happen.
  6. Create and verify. Validate each created SKILL.md with python scripts/validate_skill.py <path>. For an opted-in rule/config/AGENTS.md target outside this package, first run python scripts/pii_gate.py <target>; refusal means no write. Do not use git add -f.
  7. Report precisely. State the mechanism (runtime creator with its actual name, or inline authoring), result location/id, remaining manual review/enablement, and every deviation from the approved spec. If creation fails, retain the spec and offer the shortest retry; do not silently substitute a different target.

Hard guardrails

  • Per-item approval is non-negotiable: one explicit approval creates one asset. On ambiguity, halt rather than infer consent.
  • Do not pad candidates to five. Stop when all candidates become terminal, the user stops, or none qualify.
  • Rule/config/AGENTS.md output is exceptional: it must be opted in, individually approved, and proved untracked or outside every Git worktree before writing.
  • Keep personal paths, secrets, session ids, and raw history out of tracked assets and chat echoes. Use an untracked artifact location for sensitive reports.
  • Sibling composition is soft: if hoa-introspect is unavailable, accept a direct basis; do not attempt raw history retrieval here.

References

  • Intake schema — the smallest report/finding contract.
  • Creator discovery — runtime-native probing.
  • Inline authoring — portable fallback.
  • Approval gate — candidate state transitions.

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.