cybertron-agentic-stack
AGENTS.md2 starsChanged 3 months agoApache-2.0View on GitHub
This .agent/ directory is CyberTron's portable brain. It provides persistent memory, reusable skills, operational protocols, and shared agent context across supported harnesses. The underlying AI model may change; the CyberTron brain should remain portable and durable. CyberTron separates state into four memory layers: Do not collapse these layers into one flat memory store. CyberTron's default inference provider is local Ollama. Preferred default model: - qwen3.5:9b External providers may be configured, but must remain optional. Supported provider policy: - Ollama: default…
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 33,398 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 repository4 other files it gives its agents.
- .cursor/rules/caveman.mdcCursor rule
- .cursor/rules/fable-grok-subagents.mdcCursor rule
- cavecrewSkill
- cavemanSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
20 rules. About 1 is common, 17 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Do not collapse these layers into one flat memory store.
- Distinctive: line 34
Do not send private CyberTron context to an external provider unless explicitly permitted.
- Distinctive: line 38
Always load these when available:
- Distinctive: line 49
Do not treat provisional, rejected, superseded, or quarantined lessons as trusted operational guidance.
- Very specific: line 53
Use memory/working/WORKSPACE.md for current task state.
- Distinctive: line 65
Keep working memory concise and current.
- Common: line 67
Do not store secrets, credentials, API keys, private keys, authentication tokens, or passwords.
- Distinctive: line 84
Do not blindly promote episodic events into permanent semantic memory.
- Distinctive: line 100
Use the existing review workflow:
- Distinctive: line 107
Never rubber-stamp generated lessons.
- Distinctive: line 109
Prefer evidence-backed, reusable lessons over one-off observations.
- Distinctive: line 152
Do not confuse the two.
- Distinctive: line 166
Prefer evidence over assumptions.
- Distinctive: line 170
Do not repeat a previously verified step unless new evidence justifies it.
- Distinctive: line 174
Before destructive, irreversible, privileged, or service-disrupting operations:
- Distinctive: line 181
Never bypass permissions or safety controls.
- Very specific: line 183
Never modify protocols/permissions.md autonomously.
- Distinctive: line 191
Before sending context externally:
- Distinctive: line 197
When uncertain, keep processing local.
- Distinctive: line 210
Prefer short factual records that are useful for future troubleshooting.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
CyberTron Agent Infrastructure
This .agent/ directory is CyberTron's portable brain.
It provides persistent memory, reusable skills, operational protocols, and shared agent context across supported harnesses. The underlying AI model may change; the CyberTron brain should remain portable and durable.
Core Architecture
CyberTron separates state into four memory layers:
memory/personal/— stable operator preferences and interaction conventionsmemory/working/— current task state, checkpoints, hypotheses, and next actionsmemory/episodic/— structured operational history and significant eventsmemory/semantic/— approved lessons, architectural decisions, and distilled knowledge
Do not collapse these layers into one flat memory store.
Default Model Provider
CyberTron's default inference provider is local Ollama.
Preferred default model:
qwen3.5:9b
External providers may be configured, but must remain optional.
Supported provider policy:
- Ollama: default and preferred
- Grok/xAI: optional external provider
- OpenAI: optional external provider
- Anthropic: optional external provider
- MiniMax: optional external provider
Do not send private CyberTron context to an external provider unless explicitly permitted.
Context Loading Order
Always load these when available:
memory/personal/PREFERENCES.mdmemory/working/WORKSPACE.mdmemory/working/REVIEW_QUEUE.mdmemory/semantic/DECISIONS.md- accepted lessons from
memory/semantic/LESSONS.md - query-relevant episodic memories
- matched skills
protocols/permissions.md
Do not treat provisional, rejected, superseded, or quarantined lessons as trusted operational guidance.
Working Memory
Use memory/working/WORKSPACE.md for current task state.
Record:
- current objective
- systems or files being examined
- verified facts
- active hypotheses
- changes performed
- test results
- rollback information
- next operational step
Keep working memory concise and current.
Do not store secrets, credentials, API keys, private keys, authentication tokens, or passwords.
Episodic Memory
Significant operational events may be logged to:
memory/episodic/AGENT_LEARNINGS.jsonl
Useful events include:
- successful fixes
- failed approaches
- unexpected behavior
- important diagnostics
- configuration discoveries
- operator corrections
- rollback events
Do not blindly promote episodic events into permanent semantic memory.
Semantic Memory
memory/semantic/DECISIONS.md records deliberate architectural and workflow decisions.
memory/semantic/LESSONS.md contains distilled accepted lessons.
Semantic knowledge should represent information worth carrying across future sessions and harnesses.
Permanent lessons require review before acceptance.
Review and Graduation
Candidate lessons should be reviewed before becoming trusted semantic memory.
Use the existing review workflow:
tools/list_candidates.pytools/graduate.pytools/reject.pytools/reopen.pytools/retract_lesson.py
Never rubber-stamp generated lessons.
Prefer evidence-backed, reusable lessons over one-off observations.
Skills
Skills live under:
skills/
Load skills only when their triggers match the current task.
CyberTron skills should eventually cover areas such as:
- Linux administration
- Docker and container troubleshooting
- networking
- Juniper operations
- Open WebUI
- Ollama
- n8n
- infrastructure diagnostics
- knowledge-base operations
- security verification
- backup and recovery
Skills should contain reusable procedure and reasoning patterns, not secrets or environment-specific credentials.
Knowledge Bases
Large reference material should not be dumped into always-on memory.
CyberTron knowledge bases should remain separate from core memory and be retrieved only when relevant.
Examples:
- Juniper documentation
- Linux references
- Open WebUI documentation
- Ollama documentation
- internal infrastructure reference material
- business-specific knowledge packs
Memory records what CyberTron has learned.
Knowledge bases provide source material CyberTron can retrieve.
Do not confuse the two.
Operational Workflow
For hands-on technical tasks use:
INSPECT → IDENTIFY → VERIFY → BACKUP / ROLLBACK → CHANGE → TEST → RECORD SIGNIFICANT RESULT
Prefer evidence over assumptions.
Make one controlled change at a time.
Do not repeat a previously verified step unless new evidence justifies it.
Safety and Change Control
Before destructive, irreversible, privileged, or service-disrupting operations:
- identify the exact target
- explain expected impact
- preserve a rollback path when feasible
- obtain operator approval when required by
protocols/permissions.md
Never bypass permissions or safety controls.
Never modify protocols/permissions.md autonomously.
Provider Privacy Boundary
Local Ollama may receive normal CyberTron operational context.
External providers must receive only the minimum context necessary for the requested task.
Before sending context externally:
- exclude credentials and secrets
- exclude authentication material
- exclude unnecessary internal infrastructure details
- exclude private memory not required for the task
When uncertain, keep processing local.
Logging
Log significant actions and outcomes, not every trivial internal step.
Avoid storing:
- full secrets
- raw credentials
- unnecessary full prompts
- large raw file contents
- sensitive configuration dumps
Prefer short factual records that are useful for future troubleshooting.
CyberTron Design Principle
Models are replaceable.
CyberTron's durable value is its accumulated:
- memory
- skills
- decisions
- workflows
- evaluated lessons
- knowledge integrations
The brain should remain usable even when the underlying model, GPU, UI, or agent harness changes.
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.

