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 agentmods add skills/firstp1ck/pi-coding-agent-forge/server-auditnpx skills add Firstp1ck/pi-coding-agent-forge --skill server-auditgit clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forgeWhat 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 | $0.00048 | $0.01641 |
| Opus 5 | $0.00024 | $0.00821 |
| Sonnet 5 | $0.00010 | $0.00328 |
| Haiku 4.5 | $0.00005 | $0.00164 |
Grade A, and why
server-audit scanned grade A with 1 finding 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 2d 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo ufw status verbose # Ubuntu/Debian Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Server Audit
Security auditing and hardening for Linux systems. Covers SSH, firewalls, ports, users, and general hardening.
Quick Start
Run a Quick Security Audit
Check the essentials in order:
# 1. Open ports
ss -tlnp
# 2. SSH config
grep -E "^(PasswordAuthentication|PermitRootLogin|PubkeyAuthentication)" /etc/ssh/sshd_config
# 3. Firewall status
sudo ufw status verbose # Ubuntu/Debian
sudo firewall-cmd --list-all # RHEL/Arch (firewalld)
sudo iptables -L -n # Raw iptables
# 4. Failed login attempts (last 24h)
journalctl -u sshd --since "24 hours ago" | grep -c "Failed password"
# 5. Users with login shells
grep -v "nologin\|false" /etc/passwd | cut -d: -f1
SSH Hardening
Audit Checklist
| Check | Command | Expected | Severity |
|---|---|---|---|
| Root login disabled | grep PermitRootLogin /etc/ssh/sshd_config |
no |
Critical |
| Password auth disabled | grep PasswordAuthentication /etc/ssh/sshd_config |
no |
High |
| Key auth enabled | grep PubkeyAuthentication /etc/ssh/sshd_config |
yes |
High |
| Non-standard port | grep "^Port" /etc/ssh/sshd_config |
Not 22 (optional) | Medium |
| Max auth tries | grep MaxAuthTries /etc/ssh/sshd_config |
3 or less |
Medium |
| Idle timeout | grep ClientAliveInterval /etc/ssh/sshd_config |
Set (e.g., 300) | Low |
| Protocol 2 only | grep Protocol /etc/ssh/sshd_config |
2 (default in modern) |
Low |
| Allowed users set | grep AllowUsers /etc/ssh/sshd_config |
Specific users listed | Medium |
Recommended SSH Config
# /etc/ssh/sshd_config — hardened
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
MaxAuthTries 3
ClientAliveInterval 300
ClientAliveCountMax 2
X11Forwarding no
AllowTcpForwarding no
After SSH Changes
# Validate config before restarting
sudo sshd -t
# Restart SSH
sudo systemctl restart sshd
Firewall Audit
UFW (Ubuntu/Debian)
# Status
sudo ufw status verbose
# List rules with numbers
sudo ufw status numbered
# Check default policies
sudo ufw show raw | head -20
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.
- 2d ago First seen · 260 lines · 48 tokens per session scan A 7b66df363c7d
server-audit is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (74 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 1,641 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
github-release-management
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.
flow-nexus-platform
Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges.
github-code-review
Comprehensive GitHub code review with AI-powered swarm coordination.
github-multi-repo
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration.
github-project-management
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning.
github-workflow-automation
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management.