firstp1ck/pi-coding-agent-forge/learnings
Claude Code and agent skill by firstp1ck/pi-coding-agent-forge
- community
Checking that the SKILL.md file is still in the repository.
Use for repeated-looking troubleshooting, solved-issue recall, adding durable troubleshooting notes, and maintaining the local LEARNINGS archive. Reads LEARNINGS-SUMMARY.md first, follows referenced archive/source files before applying lessons, and verifies against current system evidence.
Install
npx vskill@latest install firstp1ck/pi-coding-agent-forge/learningsSKILL.md
LEARNINGS
This skill manages and uses Firstpick's durable troubleshooting LEARNINGS archive.
The archive is not chat memory. It is a local, file-based knowledge base of short solved-issue notes plus generated indexes and summaries.
When to use
Use this skill when:
- a troubleshooting issue looks similar to something solved before
- the user asks about LEARNINGS,
/ret-LEARNINGS, or/sum-LEARNINGS - a troubleshooting session ended with a real solution and should be recorded
- the LEARNINGS symlink/env/timer/scripts need inspection or repair
Do not blindly apply a past solution. Always verify against current files, commands, logs, and system state.
Path resolution
Resolve the archive root in this order:
- Source
~/.pi/agent/learnings.envif present and use$LEARNINGS_DIR. - Otherwise use the stable symlink
~/.pi/agent/LEARNINGS. - Otherwise ask before creating a new archive.
Expected current value on Firstpick's system:
Portable shell snippet:
Retrieval workflow
- Resolve
LEARNINGS_DIR. - Read
$LEARNINGS_DIR/LEARNINGS-SUMMARY.md. - Identify relevant entries.
- Read the referenced
sourceorarchivefile for each relevant entry. - Apply the lesson only after verifying the current system/repo state.
- In the final answer, briefly cite which LEARNINGS files influenced the solution.
If LEARNINGS-SUMMARY.md is missing or stale, run:
or, from this skill directory, using paths relative to the skill root:
Adding a learning
This is an implicit completion requirement, not an optional reminder.
At the end of every troubleshooting/configuration/repair task where a real solution was found, automatically create or update one concise LEARNINGS .md note before the final answer. Do not wait for the user to ask. This applies especially when this skill was used for inspection, repair, cleanup, setup, repeated-issue retrieval, or LEARNINGS maintenance.
Skip writing a note only when one of these is true:
- no solution was found
- the task was pure explanation/research with no fix or reusable operational lesson
- the user explicitly says not to write a learning
- writing would duplicate an existing note; in that case update the existing note only if the new solution materially changes it
Use this format:
If no solution was found, skip creating a note unless the user explicitly asks for a failed-attempt record.
After adding or updating a note, always regenerate summary/index:
Before the final answer, verify the note exists and mention the path briefly.
Maintenance workflow
Health check:
Expected core files:
Package scripts
This package includes maintenance scripts in scripts/:
sync-learnings.py— archives root learning notes and writesmanifest.json+INDEX.md.summarize-learnings.py— generatesLEARNINGS-SUMMARY.mdfrommanifest.json.run-sync-with-notification.sh— runs both and writeslogs/latest.log.
When referenced from this skill, package-level helper scripts use explicit paths relative to this skill root, e.g. ../../scripts/sync-learnings.py.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpi-package-learnings/skills/learnings/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/firstp1ck/pi-coding-agent-forge/learnings)