Walks a new cachly user from a fresh install to the first lesson that comes back in a later session. Covers seeding the Brain from git history, recalling lessons for the current task, and saving the first fix as a lesson. Use right after installing the cachly plugin, when the Brain is empty, or when the user asks how to start with cachly.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Cachly First Ten Minutes?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cachly-dev-cachly-first-ten-minutes)
---
name: cachly-first-ten-minutes
description: Walks a new cachly user from a fresh install to the first lesson that comes back in a later session. Covers seeding the Brain from git history, recalling lessons for the current task, and saving the first fix as a lesson. Use right after installing the cachly plugin, when the Brain is empty, or when the user asks how to start with cachly.
---
# cachly: first ten minutes
Goal: by the end, the Brain holds lessons from the project's history, one recall has been shown to the user, and the first real fix is saved so the next session finds it.
## Steps
1. **Check the connection.** Call `session_start` with `focus` set to the first topic the user mentioned. If the Brain is new, the first tool call may open the browser once so the user can sign in. Wait for that; do not guess an `instance_id`.
2. **Seed from git, once.** If `session_start` reports an empty Brain and the folder is a git repository, call `brain_from_git` with `repo_path` set to the project path and `limit` 100. It reads commit messages and stores fix, feature and refactor lessons. It is incremental, so a second call only reads new commits. Tell the user how many lessons were created.
3. **Recall before working.** Before the first change, call `smart_recall` with one line about the task. Show the user which lessons matched. If nothing matches, say so; seeded lessons are coarse and improve as real ones are added.
4. **Save the first real lesson.** After a fix, decision or discovery, call `learn_from_attempts`:
- `topic`: `category:keyword`, for example `fix:redis-tls`
- `outcome`: `success`, `failure` or `partial`
- `what_worked`: start with the decisive fact (number, address, command) in the first 100 characters. Session briefings cut each lesson at about 100 characters, so background placed first is lost.
- `what_failed`: what was tried and did not work
- `severity`, `file_paths`, `commands`: fill in when known
If the topic already exists, the write is an update and needs `grund`: one line on why the earlier version was wrong.
5. **Close the session.** Call `session_end` with a one-sentence summary and the changed files.
## Worked example
Task: the tests fail in CI with `ECONNREFUSED 127.0.0.1:6379`, but pass locally.
- `smart_recall("redis connection refused in CI")` returns nothing useful.
- The cause turns out to be the port: the CI service container serves Redis with TLS on `6380`.
- Saved lesson:
```
learn_from_attempts(
topic="ci:redis-port",
outcome="success",
what_worked="CI REDIS LISTENS ON 6380 WITH TLS, NOT 6379. Set REDIS_URL=rediss://localhost:6380 in the test job.",
what_failed="Re-running the job and adding a longer health-check wait changed nothing.",
severity="major",
commands=["docker compose -f docker-compose.ci.yml ps redis"]
)
```
In a later session, the same question returns this lesson with the port in its first line.
## Checks
- A lesson without a number, address or command in its first 100 characters is not finished.
- Do not store secrets (tokens, passwords, keys) in a lesson.
- The Free plan holds one Brain per account. `brain_from_git` and the lessons it creates count toward that one Brain.
More: <https://cachly.dev/docs/mcp?utm_source=claude-skill&utm_medium=plugin&utm_campaign=cachly-first-ten-minutes>