agentleFS
gokhanamalgokhanamal/ai-context/skills/capture/SKILL.md

capture

Skill1 starsChanged 8 months agoMITView on GitHub

This skill should be used when a reusable insight, command, fix, or decision may need to be captured into the right artifact: an existing skill, a new skill, a lesson, or a solution document. It is especially useful after confirmed fixes, finalized decisions, explicit 'remember this' moments, or corrected CLI usage.

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use health, brief and 5 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.
  • genomewalkerSkill

    health

    Soul system health check with remediation

    Also in 3 projects that use this

  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 7 projects that use this

  • SentrySkill

    onboard

    Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 4 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not activate continuously or speculatively.

    line 25
  2. Very specific:

    Read references/target-selection.md to decide whether the best destination is:

    line 30
  3. Distinctive:

    Before recommending a destination, check for an existing capture to avoid duplication.

    line 36
  4. Very specific:

    Search matching skills with rg

    line 37
  5. Very specific:

    Check docs/solutions/ if it exists

    line 39
  6. Distinctive:

    If confidence is high for an existing skill, name that skill directly.

    line 41
  7. Distinctive:

    If the decision is ambiguous, present the top two options instead of bluffing certainty.

    line 42
  8. Distinctive:

    Ask for approval using plain numbered choices so the flow works across platforms.

    line 43
  9. Very specific:

    If the user approves a write, read references/edit-policy.md and follow the target-specific rules.

    line 48
  10. Distinctive:

    Keep the update focused.

    line 53
  11. Distinctive:

    Prefer one primary destination per moment.

    line 54
  12. Distinctive:

    Add cross-links only when they materially help.

    line 55
  13. Distinctive:

    Do not write to multiple destinations unless the user explicitly asks.

    line 56
  14. Distinctive:

    Do not write anything before approval.

    line 61
  15. Distinctive:

    Do not force a skill update when a lesson is the cleaner fit.

    line 62
  16. Distinctive:

    Do not rewrite a skill's core workflow without showing a preview first.

    line 63
  17. Distinctive:

    Do not create a new skill for a one-off project fact.

    line 64
  18. Distinctive:

    Do not claim certainty when the destination is genuinely unclear.

    line 65

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

Capture

Detect when a recent moment is reusable knowledge, recommend the best place to capture it, ask for approval, and then update the approved destination safely.

Trigger

Activate only when at least one of these is true:

  • The user invokes this skill directly
  • The conversation includes an explicit capture cue such as:
    • "remember this"
    • "this should be a skill"
    • "we always forget this"
    • "the correct command is"
  • A workflow reaches a checkpoint such as:
    • a fix is confirmed
    • a decision is finalized
    • a non-obvious command or parameter is established

Do not activate continuously or speculatively. This skill is a checkpoint helper, not ambient monitoring.

Instructions

  1. Confirm the trigger moment and identify the candidate knowledge from recent context.
  2. Read references/target-selection.md to decide whether the best destination is:
    • an existing skill
    • a new skill
    • tasks/lessons.md
    • docs/solutions/...
    • ignore
  3. Before recommending a destination, check for an existing capture to avoid duplication.
    • Search matching skills with rg
    • Check tasks/lessons.md
    • Check docs/solutions/ if it exists
  4. Recommend one destination with a short reason and confidence statement.
    • If confidence is high for an existing skill, name that skill directly.
    • If the decision is ambiguous, present the top two options instead of bluffing certainty.
  5. Ask for approval using plain numbered choices so the flow works across platforms.
    • Example:
      1. Approve recommended destination
      2. Choose a different destination
      3. Ignore for now
  6. If the user approves a write, read references/edit-policy.md and follow the target-specific rules.
    • Existing skill: apply append-only updates directly after approval, but preview structural changes first.
    • New skill: create a minimal package under skills/<skill-name>/ plus a root README.md entry.
    • Lessons: append one short rule to tasks/lessons.md.
    • Solution docs: create docs/solutions/ on demand and write one compact solution document.
  7. Keep the update focused.
    • Prefer one primary destination per moment.
    • Add cross-links only when they materially help.
    • Do not write to multiple destinations unless the user explicitly asks.
  8. Summarize what changed and reference the edited files.

Guardrails

  • Do not write anything before approval.
  • Do not force a skill update when a lesson is the cleaner fit.
  • Do not rewrite a skill's core workflow without showing a preview first.
  • Do not create a new skill for a one-off project fact.
  • Do not claim certainty when the destination is genuinely unclear.

References

  • references/target-selection.md - destination heuristics, confidence rules, and duplicate checks
  • references/edit-policy.md - mixed policy for skill edits plus write templates for all destinations
  • references/examples.md - sample trigger moments, approvals, and destination outcomes

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.