Install
$ agentstack add skill-firstp1ck-pi-coding-agent-forge-learnings ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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:
/mnt/SSD_NVME/LEARNINGS
Portable shell snippet:
source "$HOME/.pi/agent/learnings.env" 2>/dev/null || true
LEARNINGS_DIR="${LEARNINGS_DIR:-$HOME/.pi/agent/LEARNINGS}"
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:
~/.pi/agent/bin/learnings-summary
or, from this skill directory, using paths relative to the skill root:
../../scripts/sync-learnings.py
../../scripts/summarize-learnings.py
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:
# concise-title-date
- Issue: what happened.
- Tried: key diagnostics/fixes attempted.
- Solution: what worked at the end.
- Verification: command/output or observed behavior proving it worked.
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:
~/.pi/agent/bin/learnings-summary
Before the final answer, verify the note exists and mention the path briefly.
Maintenance workflow
Health check:
source "$HOME/.pi/agent/learnings.env" 2>/dev/null || true
LEARNINGS_DIR="${LEARNINGS_DIR:-$HOME/.pi/agent/LEARNINGS}"
ls -la "$HOME/.pi/agent/LEARNINGS" "$HOME/.pi/agent/learnings.env" "$LEARNINGS_DIR"
python -m json.tool "$LEARNINGS_DIR/manifest.json" >/dev/null
systemctl --user list-timers sync-learnings.timer --all --no-pager
Expected core files:
README.md
INDEX.md
manifest.json
LEARNINGS-SUMMARY.md
archive/
logs/
sync-learnings.py
summarize-learnings.py
run-sync-with-notification.sh
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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Firstp1ck
- Source: Firstp1ck/pi-coding-agent-forge
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.