agentleFS
kkonstvol-labkkonstvol-lab/obsidian-memory/AGENTS.md

obsidian-memory

AGENTS.md3 starsChanged 7 months agoMITView on GitHub

Instructions for AI agents maintaining this public skill repository. This repository stores the public standalone obsidian-memory skill. Treat it as portable skill source, not as a runtime vault or private workspace. Primary release target: Secondary sync target after standalone is correct: Do not commit: Use generic examples such as {YOUR_VAULT_PATH}, /path/to/vault, 12-{agent}, and ~/.agents/skills. Run the relevant subset:

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

12 rules. About 1 is common, 7 are distinctive, and 4 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    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. Very specific:

    Use generic examples such as {YOUR_VAULT_PATH}, /path/to/vault, 12-{agent}, and ~/.agents/skills.

    line 32
  2. Distinctive:

    Update the standalone repo first.

    line 38
  3. Very specific:

    Treat the README as the public showcase surface: major shipped capabilities must appear in the first-level narrative, not only in …

    line 41
  4. Distinctive:

    Keep brand assets final-only: commit the finished image, not prompts, caches, alternate drafts, or generated intermediate files.

    line 42
  5. Very specific:

    Keep SKILL.md concise; move long guidance to references/.

    line 43
  6. Distinctive:

    Keep scripts deterministic and dry-run/advisory by default.

    line 44
  7. Very specific:

    Keep Control Tower / workflow discipline tools portable: use synthetic fixtures, 12-{agent} examples, and read-only defaults.

    line 47
  8. Distinctive:

    Do not add DB, vector, MCP, or job-runtime behavior without a separate approved plan.

    line 48
  9. Distinctive:

    Do not add claims about bundled semantic storage, default dynamic context injection, direct canonical writes, all-agent memory access, or …

    line 49
  10. Common:

    Run a privacy scan, a forbidden-claim scan, and a secret-pattern scan before commit and again after standalone/monorepo sync.

    line 59
  11. Distinctive:

    If a scan flags docs that intentionally describe prohibited wording, rewrite the wording instead of allowlisting the hit.

    line 60
  12. Distinctive:

    Run the relevant subset:

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md

AGENTS.md

Instructions for AI agents maintaining this public skill repository.


Repository Purpose

This repository stores the public standalone obsidian-memory skill. Treat it as portable skill source, not as a runtime vault or private workspace.

Primary release target:

  • kkonstvol-lab/obsidian-memory on master.

Secondary sync target after standalone is correct:

  • kkonstvol-lab/agents/agent-skills/obsidian-memory on main.

Public-Only Rule

Do not commit:

  • private 12-codex, 12-claude, or other runtime memory content;
  • session-drafts, hook-runs, local reports, caches, sqlite files, or logs;
  • RAW PDF/DOCX/ZIP files;
  • credentials, API keys, tokens, cookies, auth files, or local configs;
  • machine-specific absolute paths;
  • generated graph/retrieval reports that contain private vault content.

Use generic examples such as {YOUR_VAULT_PATH}, /path/to/vault, 12-{agent}, and ~/.agents/skills.


Maintenance Rules

  • Update the standalone repo first.
  • Sync the monorepo copy only after standalone docs, scripts, and tests are correct.
  • The monorepo copy must match the standalone skill exactly except for ignored runtime artifacts such as .git, caches, and platform junk.
  • Treat the README as the public showcase surface: major shipped capabilities must appear in the first-level narrative, not only in references/.
  • Keep brand assets final-only: commit the finished image, not prompts, caches, alternate drafts, or generated intermediate files.
  • Keep SKILL.md concise; move long guidance to references/.
  • Keep scripts deterministic and dry-run/advisory by default.
  • Separate shipped capabilities from recommended contracts and internal production lessons. Do not imply that a documented private/local runtime pattern is bundled as a ready engine.
  • Any hook, graph, or operator script should have a syntax check, smoke test, or fixture test.
  • Keep Control Tower / workflow discipline tools portable: use synthetic fixtures, 12-{agent} examples, and read-only defaults; never publish real 12-codex decision state or lesson content.
  • Do not add DB, vector, MCP, or job-runtime behavior without a separate approved plan.
  • Do not add claims about bundled semantic storage, default dynamic context injection, direct canonical writes, all-agent memory access, or OpenViking as a dependency.
  • ClaudSoul-style content here means practical bridges only, not full ontology/persona architecture.
  • GBrain-inspired content here means runtime discipline only, not migration to GBrain.

Docs Integrity Rules

  • Required public files must exist before release: README.md, SKILL.md, AGENTS.md, references/operator-runtime.md, references/workflow-discipline.md, references/release-safety.md, and references/memory-qualification.md.
  • README.md and SKILL.md must link to references/memory-qualification.md when qualification or runtime shadow work is mentioned.
  • Relative Markdown links must resolve inside the repository.
  • The README hero image path must exist.
  • Run a privacy scan, a forbidden-claim scan, and a secret-pattern scan before commit and again after standalone/monorepo sync.
  • If a scan flags docs that intentionally describe prohibited wording, rewrite the wording instead of allowlisting the hit.

Required Checks Before Commit

Run the relevant subset:

git diff --check
node --check assets/codex/hooks/codex-session-start.js
node --check assets/codex/hooks/codex-post-tool-use.js
node --check assets/codex/hooks/precompact-autosave.js
node assets/codex/hooks/tests/test_codex_post_tool_use.js
node assets/codex/hooks/tests/test_precompact_autosave.js
python3 -m py_compile assets/operator/*.py
python3 assets/operator/tests/test_bridge_health.py
python3 assets/operator/tests/test_branch_close_pack.py
python3 assets/operator/tests/test_decision_review_board.py
python3 assets/operator/tests/test_lesson_lint.py
python3 assets/operator/tests/test_lesson_review_board.py
python3 assets/operator/tests/test_operation_registry.py
python3 assets/operator/tests/test_release_status.py
python3 assets/operator/tests/test_release_surface_check.py
python3 assets/operator/tests/test_retrieval_eval.py
python3 assets/operator/tests/test_skill_repo_audit.py
python3 -m py_compile assets/graph/*.py assets/graph/tests/test_graphify_beads.py
python3 assets/graph/tests/test_graphify_beads.py
find . \( -name '.DS_Store' -o -name '__pycache__' -o -name '*.pyc' -o -name '*.sqlite' -o -name '*.log' -o -name '.env' -o -name 'node_modules' -o -name 'graphify-out' -o -name '.git' \) -print
rg -n "(AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9_]{20,}|github_pat_[A-Za-z0-9_]+|sk-[A-Za-z0-9]{20,}|BEGIN (RSA|OPENSSH|EC|PRIVATE) KEY|password\s*=|api[_-]?key\s*=|secret\s*=|token\s*=)" .

The artifact scan may show the repository root .git; it should not show nested/runtime artifacts inside the skill.

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.