instinct-export
Skill9 starsChanged 21 days agoApache-2.0View on GitHub
Use when the user wants to share or back up learned instincts — validates the local instincts file, allowlists the six known fields, strips secrets and home-directory paths, and writes a sanitized JSON artifact the user names. Never modifies the instincts file itself.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- PatriotAgenticLLC/better_claude_skillztheir own version, first seen Jul 1, 2026
- mycelium-hq/ai-brain-startertheir own version, first seen Apr 10, 2026
- peopleforrester/claude-dotfilestheir own version, first seen Apr 5, 2026
- TheKREATORS/my-claude-skillstheir own version, first seen Mar 19, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- mycelium-hq/ai-brain-starter★ 60same name
- PatriotAgenticLLC/better_claude_skillz★ 3same name
- peopleforrester/claude-dotfiles★ 3same name
- TheKREATORS/my-claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository275 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .agents/packs/eventtech/AGENTS.mdAGENTS.md
- .agents/packs/hardware/AGENTS.mdAGENTS.md
- .agents/packs/media/AGENTS.mdAGENTS.md
- skills/global_config/postgres-best-practices/AGENTS.mdAGENTS.md
- skills/global_config/react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- global-rulesCursor rule
- bdb-agentsCursor rule
- fabricCursor rule
- advisorSkill
- ao-orchestratorSkill
- bdb-eventagency-skillSkill
- bdbhtmlmanueldocsSkill
- bdbmediastormSkill
- bdb-shipping-skillSkill
- fabric-graphSkill
- fabric-loopSkill
- fabric-multigraphSkill
- fabricSkill
- fabric-swarmSkill
- fabric-teamworkSkill
- godmode-3d-creationSkill
- godmode-engineeringSkill
- godmode-eventtechSkill
- godmode-hardware-pcbSkill
- godmode-media-creationSkill
- godmode-shippingSkill
- godmode-ui-uxSkill
- instinct-importSkill
- instinct-statusSkill
- master-sessionSkill
- skill-createSkill
- bdb-aosSkill
- bdbrainstormSkill
- codebase-memorySkill
- github-repoSkill
- agentic-harness-patternsSkill
- agent-manager-skillSkill
- agent-memory-mcpSkill
- agent-pipelineSkill
- agent-tool-builderSkill
- agenttrailSkill
- ai-agent-developmentSkill
- ai-productSkill
- aos-a2aSkill
- aos-gatewaySkill
- aos-project-initSkill
- aos-setupSkill
- aos-storeSkill
- aos-updateSkill
- api-design-principlesSkill
- apify-lead-generationSkill
- apify-ultimate-scraperSkill
- api-patternsSkill
- archifySkill
- architect-reviewSkill
- ask-timSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Read ~/.aos/instincts/instincts.json.
- Distinctive: line 26
If the JSON does not parse, fail loudly with the parse error — never export garbage "with best effort".
- Very specific: line 35
Field allowlist: every exported entry keeps exactly the six shared fields — id, trigger, action, confidence (0–1), source, updated — and
- Distinctive: line 37
every other field is dropped: No auxiliary metadata travels with the entry.
- Distinctive: line 66
After redaction and field-filtering, serialize the JSON and scan the whole serialized output once more against the section-2 list before …
- Very specific: line 75
Default if the user names no path: a scratch/output folder the user names — for example ~/instinct-export/instincts-YYYY-MM-DD.json.
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
instinct-export — sanitize and share learned instincts
Concept inspired by the instinct/skill-create ideas in affaan-m/ECC; no code copied.
Instincts are small learned behaviours stored locally under
~/.aos/instincts/instincts.json (format defined in /instinct-status).
Exporting one means making it portable — into version control, a teammate's
machine, a dotfile repo. That is exactly where leaks happen, so sanitization
is the job, not a nicety.
1. Read and validate the source
Read ~/.aos/instincts/instincts.json. If it is missing, the file is not
silently treated as empty: report that there is nothing to export and stop.
If the JSON does not parse, fail loudly with the parse error — never export
garbage "with best effort".
Shared bounds, same as on the import side: trigger and action must be
JSON strings ≤ 200 / ≤ 400 characters, no newlines or control characters;
at most 200 instinct entries. A store that fails these bounds is corrupt, not
exportable — fail loudly with the reason the same way as the parse-error path
above, never ship an artifact /instinct-import would reject wholesale.
Field allowlist: every exported entry keeps exactly the six shared fields
— id, trigger, action, confidence (0–1), source, updated — and
every other field is dropped. No auxiliary metadata travels with the
entry. Nothing on the allowlist is negotiable; extra fields are removed, not
published.
2. Redact — drop anything that looks like a credential or a leak
For every entry, scrub trigger and action against these redaction rules
(a hit means remove the content, or the whole entry if the lesson dies with
it):
sk-…prefixed keys.ghp_…tokens.github_pat_…tokens.xox-prefixed Slack tokens (xoxp-,xoxb-, …).- AWS
AKIA…access-key ids. - JWTs: three dot-separated base64 parts (
header.payload.signature). - Any base64 or hex run of 32+ characters.
- URL userinfo:
user:pass@…in any URL. - E-mail addresses.
- Absolute home paths:
/Users/<name>/…,/home/<name>/…,C:\Users\<name>\…. Rewrite to~/…or describe the location in words. Relative paths (src/lib/) are safe.
An instinct that only exists to memorialize a secret is dropped, not partially redacted. A missing entry is recoverable; a leaked credential is not.
3. Re-scan the output before writing
After redaction and field-filtering, serialize the JSON and scan the whole serialized output once more against the section-2 list before any write. Redaction that happens only on the entry objects can miss paths, e-mails or tokens introduced by formatting or by fields added late; the final scan is what closes that gap. If the re-scan still finds a hit, fix it and re-scan again — never write with a known hit remaining.
4. Write the artifact
Default if the user names no path: a scratch/output folder the user names —
for example ~/instinct-export/instincts-YYYY-MM-DD.json. Never the home
root (~/instincts-export-….json is out), never a dotfiles repo path, never
inside ~/.aos/. If the user names a path inside the AOS state dir, refuse
it — resolve .. segments and symlinks first and check the resolved path,
not the spelled-out one. Never overwrite an existing export file without the
user's explicit yes. The export keeps version: 1 and an exported:
<ISO date> key at the top level; the instincts file itself is never
modified.
5. Report
Summarize: N instincts exported, K sanitized (list the ids), M omitted and
why (one line each). Show the output path and state that the original file
was untouched.
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
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.

