Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Firstp1ck/pi-coding-agent-forge --skill backup-managergit clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/backup-manager)<a href="https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/backup-manager"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/backup-manager/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/backup-manager"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/backup-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.01427 |
| Opus 5.5 | $0.00018 | $0.00571 |
| Sonnet 5.5 | $0.00009 | $0.00285 |
| Haiku 4.5 | $0.00005 | $0.00143 |
Grade C, and why
backup-manager scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf "$TEMP_DIR" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "http://<gitea-host>:3000/api/v1/user/repos" \ How it starts
The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backup Manager
Verify, test, and manage backups across the infrastructure.
Quick Start
Verify a Git Backup
# Clone to temp directory and check integrity
TEMP_DIR=$(mktemp -d)
git clone --bare <repo-url> "$TEMP_DIR/test-repo" 2>&1
cd "$TEMP_DIR/test-repo"
git fsck --full --no-dangling
echo "Exit code: $?"
rm -rf "$TEMP_DIR"
Check Gitea Backup Status
# List repos on Gitea
curl -s "http://<gitea-host>:3000/api/v1/user/repos" \
-H "Authorization: token <token>" | jq '.[].name'
# Check last push time
curl -s "http://<gitea-host>:3000/api/v1/repos/<owner>/<repo>" \
-H "Authorization: token <token>" | jq '.updated_at'
Backup Verification
Git Repository Integrity
# Full integrity check
git fsck --full --no-dangling
# Check for corruption
git fsck --strict
# Verify all objects are reachable
git rev-list --all --objects | wc -l
Expected: Exit code 0, no errors. Any "broken link", "missing", or "corrupt" messages indicate problems.
File Count Verification
# Compare file counts between source and backup
# Source
find /path/to/source -type f | wc -l
# Backup
find /path/to/backup -type f | wc -l
Backup Freshness
A backup is only useful if it's recent enough. Check age:
# Last commit date in a git backup
git log -1 --format="%ci"
# Age of newest file in a directory backup
find /path/to/backup -type f -printf '%T@\n' | sort -n | tail -1 | xargs -I{} date -d @{}
Freshness criteria:
- < 24h: Fresh
- 24h–72h: Acceptable (check if auto-backup is running)
-
72h: Stale (investigate why backups stopped)
Restore Testing
Git Restore Test
Full restore test to verify disaster recovery:
# 1. Create isolated test directory
TEST_DIR=$(mktemp -d)
echo "Testing restore in: $TEST_DIR"
# 2. Clone from backup source
git clone <backup-repo-url> "$TEST_DIR/restored" 2>&1
# 3. Verify integrity
cd "$TEST_DIR/restored"
git fsck --full
# 4. Verify structure (check key files exist)
for f in AGENTS.md APPEND_SYSTEM.md MEMORY.md; do
if [ -f "$f" ]; then
echo "OK: $f exists"
else
echo "MISSING: $f"
fi
done
# 5. Count files
echo "Total files: $(find . -type f | wc -l)"
# 6. Cleanup
rm -rf "$TEST_DIR"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 208 lines · 46 tokens per session scan C ae14ab99217f
backup-manager is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (96 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,427 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
backup-manager compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backup-managerFirstp1ck/pi-coding-agent-forge | Skill | 96 | yesterday | MIT | C | 46 | Claude Code, Codex |
| convex-component-authoringwaynesutton/convexskills | Skill | 405 | 16d ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| ae-ltd-skill-builderaegntic/cldcde | Skill | 12 | 3d ago | MIT | A | 48 | Codex |
| ctxhub-get-api-docsaegntic/cldcde | Skill | 12 | 3d ago | MIT | A | 119 | Claude Code, Codex |
| ae-ltd-claude-template-switchboardaegntic/cldcde | Skill | 12 | 3d ago | MIT | A | 43 | Codex |
| ae-ltd-mcp-foundryaegntic/cldcde | Skill | 12 | 3d ago | MIT | A | 43 | Codex |
| ae-ltd-context7-radaraegntic/cldcde | Skill | 12 | 3d ago | MIT | A | 42 | Codex |