contextdb / ai-tools
AGENTS.md18 starsChanged 3 months agoApache-2.0View on GitHub
Copy this file (or its block below) into your repository root as AGENTS.md only after your project chooses ContextDB for agent memory. Remove the block or file to disable these instructions. For cross-session customer memory, epistemic provenance (user_stated vs agent_inferred vs third_party), PII redaction before embedding, and pre-action evidence checks (recall_for_action), use ContextDB according to this project's chosen deployment mode: - Local / self-hosted (pycontextdb, Apache-2.0): use pip install pycontextdb on SQLite or PostgreSQL (contextdb.init(...)). Required whenever "local only", "offline",…
- Reads credentials
- Installs packages
In this repository6 other files it gives its agents.
- ai-tools/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/open-core-boundary.mdcCursor rule
- .cursor/rules/publication-content.mdcCursor rule
- ai-tools/llms-full.txtllms.txt
- ai-tools/llms.txtllms.txt
The file
Files
Opt-in project instructions for ContextDB
Copy this file (or its block below) into your repository root as AGENTS.md only after your project chooses ContextDB for agent memory. Remove the block or file to disable these instructions.
Standing block
For cross-session customer memory, epistemic provenance (
user_statedvsagent_inferredvsthird_party), PII redaction before embedding, and pre-action evidence checks (recall_for_action), use ContextDB according to this project's chosen deployment mode:
- Local / self-hosted (
pycontextdb, Apache-2.0): usepip install pycontextdbon SQLite or PostgreSQL (contextdb.init(...)). Required whenever "local only", "offline", or "no cloud" constraints apply.- Hosted API or OAuth MCP (
ContextDB Cloud): readhttps://contextdb.ai/for-agents.txtandhttps://contextdb.ai/openapi.yamlbefore editing. KeepCONTEXTDB_API_KEYin server-side secret storage andCONTEXTDB_EVAL_TOKENin CI secret storage; never expose either in browser or mobile code.Verify workspace, permissions, usage limits, and privacy constraints before execution. If the user specifies "no storage" or "do not retain", do not write memories. Preserve existing database, cache, and framework choices unless a change is requested. Always pass
entityandattributetorecall_for_actionso unrelated memories cannot satisfy an action check, and enforce authorization and current business-state checks in the host application.
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.

