~/Learning
A learning routine: the agent studies open source repos before building anything.

Before building, learning
For an agent to be efficient, the first thing is to onboard it: teach it the project, the patterns, the limits. Without that, every session starts from zero. The agent discovers the structure, finds the commands, learns the conventions, and the next session does it all again.
That is why the first task given to Hermes, the lab's agent, was just that: learn. Not build, not integrate, not automate. Learn.
The structure
Knowledge is split into folders with instructive .md files. Each tracked open source repo gets its own namespace, and AGENTS.md is the hook: the agent reads that file and knows what to do, with no outside context.
| File | Role |
|---|---|
AGENTS.md | The contract. Instructions the agent follows without asking: at the root, the daily routine (pull, diff, summary); inside each repo, build, architecture and conventions. |
README.md | The index. A table with every tracked repo, link, priority and a one-line description. |
update_repos.py | The engine. Runs git pull in each repo and returns JSON with new commits, changed files and diffs. |
HOW_TO_USE.md | Optional guide, when a repo is complex enough to deserve a summary beyond its AGENTS.md. |
LEARNING.md | Study notes for that repo, piling up over time. |
~/LEARNING.md | The daily digest, on purpose outside the folder: everything that changed, in one place. |
The daily routine
The agent does not study for the sake of it. Learning has an output: patterns become skills, skills become tools, and the tools speed up the next project.
Contract and pre-mapping
What makes the system work is the contract. The root AGENTS.md is an executable instruction, not documentation: it says which repos to update, how to read the diffs and when to generate skills.
That creates pre-mapping: before you need a subject, the map is already there. The daily diff is not passive study, it is continuous indexing.
The first skill
The routine worked, but it was manual: every time I wanted to run the update, I had to explain what to do. The way out was to turn the learning system itself into a Hermes skill. Now a command, or a mention in the middle of a conversation, is enough: the agent loads the contract, runs the script, analyzes the diffs, writes the digest and extracts skills when it finds patterns.
- Adding a repo:
/learning <repo_url>creates the _learning folder, clones, updates the README and writes the first digest entry. - Daily routine: runs
update_repos.pyand summarizes in ~/LEARNING.md what changes usage or contribution, in about 50 lines per repo at most. - Extraction: for each repo with a relevant change, it classifies the knowledge (architecture, API, operational workflow, troubleshooting) and writes a contract with Goal, Scope, Triggers, Inputs, Procedure, Outputs and Review gate.
- Publishing: when a study session produces three or more skills on the same topic, they go to skills-blackhole in the blueprint format.
The learning system became the first skill because it was the first repeatable task, and because it stands for the central premise: the agent learns before it builds. The next step is ~/Projects, and the contract format is in the Agentic Workflow Blueprint.
References
- NousResearch/hermes-agentHermes, the lab's agent
- AGENTS.mdthe format of the agents' entry file
- simstudioai/simSim, one of the tracked repos
- devton/skills-blackholewhere the extracted skills are published
- devton/agentic-workflow-blueprintthe meta-skill, the example workflows and the runbooks
