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 skills add timurgaleev/memex --skill repo-architecturegit clone --depth 1 https://github.com/timurgaleev/memexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/timurgaleev/memex/repo-architecture)<a href="https://agentmods.dev/skills/timurgaleev/memex/repo-architecture"><img src="https://agentmods.dev/badge/skills/timurgaleev/memex/repo-architecture/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/timurgaleev/memex/repo-architecture"><img src="https://agentmods.dev/badge/skills/timurgaleev/memex/repo-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00034 | $0.00444 |
| Opus 5.5 | $0.00014 | $0.00178 |
| Sonnet 5.5 | $0.00007 | $0.00089 |
| Haiku 4.5 | $0.00003 | $0.00044 |
Grade A, and why
repo-architecture 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 3mo 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.
What it actually says
Repo Architecture — Filing Rules
Full filing rules: See
_brain-filing-rules.md(viaget_skill _brain-filing-rules)
Contract
This skill guarantees:
- Every new page is filed by primary subject (not format, not source)
- The decision protocol is followed for ambiguous cases
- Common misfiling patterns are caught
Phases
- Identify the primary subject. What would you search for to find this page?
- Walk the decision tree:
- About a person →
people/{name-slug} - About a company →
companies/{name-slug} - A reusable concept/framework →
concepts/{slug} - An original idea →
originals/{slug} - A meeting →
meetings/{slug} - Media content →
media/{type}/{slug} - Raw data import →
sources/{slug}
- About a person →
- Cross-link. Use
linkfrom related pages; checkbacklinkson the new slug. - Check notability. See
conventions/quality.mdnotability gate (viaget_skill conventions/quality).
Output Format
Advisory: "File this at {type}/{slug} because the primary subject is {reason}."
Anti-Patterns
- Filing by format ("it's a PDF so it goes in sources/")
- Filing by source ("it came from email so it goes in sources/")
- Creating pages without checking if one already exists (
searchfirst, thenpage_get) - Using
sources/for anything except raw data dumps
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.
- 3mo ago First seen · 54 lines · 34 tokens per session scan A d7655ef4619c
repo-architecture is a skill published in the GitHub repository timurgaleev/memex (11 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 444 once invoked, about $0.0001 per session on Opus 5.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-31.
repo-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-architecturetimurgaleev/memex | Skill | 11 | 2mo ago | MIT | A | 34 | Claude Code, Codex |
| memorypioneerdotai/pioneer | Skill | 22 | today | MIT | A | 64 | Claude Code |
| weasley-deepmindpotatohoney-p/weasley-deepmind | Skill | 6 | 26d ago | Apache-2.0 | A | 0 | Claude Code |
| check-memory-before-actingGiulioDER/RE-call | Skill | 9 | today | AGPL-3.0 | A | 72 | Claude Code, Codex |
| re-callGiulioDER/RE-call | Skill | 9 | today | AGPL-3.0 | A | 57 | Claude Code, Codex |
| keep-memory-currentGiulioDER/RE-call | Skill | 9 | today | AGPL-3.0 | A | 81 | Claude Code, Codex |
| thebrain-ingestyBookoff/thebrain-mcp | Skill | 8 | 1mo ago | MIT | A | 112 | Claude Code, Codex |