| name | PheroPath |
| description | A filesystem-based stigmergy communication protocol. Use this to leave invisible "pheromones" (signals) on files to communicate context, risks, or status to other agents or your future self without modifying file content. |
PheroPath Agent Skill
PheroPath allows you to attach context (DANGER, TODO, SAFE, INSIGHT) to files using Extended Attributes (or a sidecar fallback).
Usage Guide
1. Secrete (Leave a Signal)
Script: scripts/secrete.py
When to use:
- DANGER: You found a bug/risk you cannot fix immediately.
- TODO: You are leaving untidied code or suggestions.
- SAFE: You verified a module is robust.
- INSIGHT: You want to explain why something is implemented this way.
Bash Examples (Few-Shot):
python3 scripts/secrete.py "src/concurrency.py" "DANGER" "Rate limit race condition under high load" --intensity 1.0
python3 scripts/secrete.py "src/legacy_api.py" "TODO" "Needs migration to v2 API schema"
python3 scripts/secrete.py "tests/test_auth.py" "SAFE" "Passed all penetration tests"
python3 scripts/secrete.py "src/core/engine.py" "INSIGHT" "Core loop logic derived from paper X" --ttl 168
2. Sniff (Read Signals)
Script: scripts/sniff.py
When to use:
- ALWAYS before starting a task in an unfamiliar directory.
- Before modifying critical files to check for
DANGER.
Bash Examples (Few-Shot):
python3 scripts/sniff.py "src/main.py"
python3 scripts/sniff.py "src/" --min-intensity 0.1
python3 scripts/sniff.py "src/" | jq '.[].message'
3. Cleanse (Remove Signals)
Script: scripts/cleanse.py
When to use:
- After fixing a bug (remove
DANGER).
- After completing a task (remove
TODO).
Bash Examples (Few-Shot):
python3 scripts/cleanse.py "src/concurrency.py"
python3 scripts/cleanse.py "src/" --prune 0.2
python3 scripts/cleanse.py "src/" --all