Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/knowns-dev/knowns/gemini-mdgit clone --depth 1 https://github.com/knowns-dev/knownsWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00513 | $0.00513 |
| Opus 5 | $0.00257 | $0.00257 |
| Sonnet 5 | $0.00103 | $0.00103 |
| Haiku 4.5 | $0.00051 | $0.00051 |
Grade A, and why
knowns GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GEMINI
Compatibility entrypoint for runtimes that auto-detect GEMINI.md.
@KNOWNS.md
CRITICAL: You MUST read and follow KNOWNS.md in the repository root before doing any work. It is the canonical source of truth for all agent behavior in this project.
Canonical Guidance
- Knowns is the repository memory layer for humans and the AI-friendly working layer for agents.
- The source of truth for repo-level agent guidance is
KNOWNS.md. - Read
KNOWNS.mdfirst whenever the runtime supports reading repository files. - Load behavior, memory policy, and workflow rules from
KNOWNS.md; treat this file only as a compatibility entrypoint. - If this file and
KNOWNS.mddiffer, followKNOWNS.md.
Minimum Rules
- Use Knowns as the canonical system for tasks, docs, templates, and workflow state.
- Never manually edit Knowns-managed task or doc markdown.
- Search first, then read only relevant docs and code.
- Use
searchfor discovery; use MCPretrievetool when a workflow needs structured context with citations. Fall back to CLIknowns retrieveif MCP is unavailable. - For code operations, use
codetool:symbolsfor structure,findfor search,references/definitionfor navigation,rename/replace/insert/deletefor editing. Usehelp("code.*")for details. - Plan before implementation unless the user explicitly overrides that workflow.
- Validate before considering work complete.
- Use memory tools:
memory({ action: "list" })at session start,memory({ action: "add" })after tasks for reusable knowledge. - Proactively capture durable memory based on
KNOWNS.mdmemory rules; do not wait for an explicit user instruction to save memory when scope and durability are clear.
Quick Reference
knowns doc list --plain # List docs
knowns task list --plain # List tasks
knowns task <id> --plain # View task
knowns doc "<path>" --plain --smart # View doc
knowns search "query" --plain # Search docs/tasks
knowns retrieve "query" --json # Retrieve structured context pack (CLI fallback)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 43 lines · 513 tokens per session scan A 7088184f24aa
knowns GEMINI.md is an instructions file published in the GitHub repository knowns-dev/knowns (241 stars, last pushed 6d ago), licensed MIT. It adds 513 tokens to every session, about $0.0026 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
claude-context-os CLAUDE.md
Instructions for Arkya-AI/claude-context-os, covering claude.md, session start, identity, rules and where things live.
claude-code-bridge CLAUDE.md
Claude Code instructions for harshitleads/claude-code-bridge, covering claude.md, vision and mission, current stack, architecture and code rules.
open-ontologies CLAUDE.md
Instructions for fabio-rovai/open-ontologies, covering open ontologies, ontology engineering workflow, generate, validate and load and reason.
vibe-coding-prompt-template backend.instructions.md
Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.
kin GEMINI.md
Instructions for firelock-ai/kin, covering kin: read the repository from the graph, pick the tool by what you know, trust the envelope, not the emptiness, if the tools have no graph and a working order.
kin AGENTS.md
Instructions for firelock-ai/kin, covering agents.md and this repo's role.