.config/pi/agent/skills/capture-learnings/SKILL.md
Turn discoveries and project/repository conventions into durable artifacts (code, config, tests, skills, AGENTS.md, docs). Use: (1) at the end of every task (mandatory gate for non-obvious discoveries), OR (2) when explicitly asked to capture, record, document, or note a convention/pattern for future reference.
npx skillsauth add adragomir/dotfiles capture-learningsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Turn non-obvious discoveries into the smallest durable artifact so future work is faster and safer.
Two triggers:
At the end of every task (automatic gate)
Capture Learnings: skipped (<reason>)When explicitly asked (direct capture)
If none apply: Capture Learnings: skipped (too task-specific / already discoverable).
Prefer changing reality over documenting it:
Code/config/tests/CI: make it true (types/tests/lint/CI/scripts).
Nearest subtree AGENTS.md: a rule/gotcha you must follow while working in a specific part of the tree.
AGENTS.md is canonical + portable for all agents (not just Claude).CLAUDE.md, not AGENTS.md): same-dir CLAUDE.md containing @AGENTS.md.fd AGENTS.md <subtree-root> (or fd AGENTS.md if unsure) and pick the closest governing file.AGENTS.md files: update the closest one that governs the files you touched.AGENTS.md (rules) + CLAUDE.md (@AGENTS.md) in that subtree.AGENTS.md: last resort; only project-wide invariants.Project-local skill (<project>/.pi/skills/<name>/SKILL.md): a repeatable agent workflow.
AGENTS.md).docs/: only for durable artifacts like feature specs, agent TODOs, and developer docs.
docs/ is not a dumping ground for generic background/rationale.X/**” → nearest X/**/AGENTS.md (+ same-dir CLAUDE.md with @AGENTS.md).pi/skills/docs/ (update an existing doc if possible)docs/ gate (avoid junk)Write to docs/ only if at least one is true:
If you do write/update docs/:
Skills are often misunderstood; keep them concrete and procedural.
Local-first rule:
<project>/.pi/skills/.Before creating/updating a skill (or hooks/tools/providers/themes):
/path/to/@mariozechner/pi-coding-agent/docs/skills.md<project>/.pi/skills/<name>/~/.pi/agent/skills/<name>/~/.pi/agent/AGENTS.md (don't create CLAUDE.md here)AGENTS.md (+ same-dir CLAUDE.md with @AGENTS.md)AGENTS.md (+ same-dir CLAUDE.md with @AGENTS.md)Prefer updating an existing artifact over creating a new one; avoid duplicates.
Do not persist:
docs/ TODO workflowtools
Allows to interact with web pages by performing actions such as clicking buttons, filling out forms, and navigating links. It works by remote controlling Google Chrome or Chromium browsers using the Chrome DevTools Protocol (CDP). When Claude needs to browse the web, it can use this skill to do so.
tools
Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.
development
Load and parse session transcripts from shittycodingagent.ai/buildwithpi.ai/buildwithpi.com (pi-share) URLs. Fetches gists, decodes embedded session data, and extracts conversation history.
testing
Create and render OpenSCAD 3D models. Generate preview images from multiple angles, extract customizable parameters, validate syntax, and export STL files for 3D printing platforms like MakerWorld.