Skip to content
Back to skills

PheroPath

ASecurity

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.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 8, 2026
developmentpythonbashrefactoringapi

Works with

  • api

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned February 10, 2026

npx -y skills add starpig1129/PheroPath --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of PheroPath?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for PheroPath
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/starpig1129-pheropath/badge)](https://www.skillsdirectory.com/skills/starpig1129-pheropath)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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):**

```bash
# Example 1: Mark a file as dangerous due to a race condition
python3 scripts/secrete.py "src/concurrency.py" "DANGER" "Rate limit race condition under high load" --intensity 1.0

# Example 2: Leave a TODO note for refactoring
python3 scripts/secrete.py "src/legacy_api.py" "TODO" "Needs migration to v2 API schema"

# Example 3: Mark a test file as verified
python3 scripts/secrete.py "tests/test_auth.py" "SAFE" "Passed all penetration tests"

# Example 4: Add architectural insight
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):**

```bash
# Example 1: Sniff a specific file
python3 scripts/sniff.py "src/main.py"

# Example 2: Sniff an entire directory (recursive) to gather context
python3 scripts/sniff.py "src/" --min-intensity 0.1

# Example 3: Parse output (it is JSON)
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):**

```bash
# Example 1: Remove signal from a specific file (e.g. after fixing it)
python3 scripts/cleanse.py "src/concurrency.py"

# Example 2: Prune weak signals (intensity < 0.2) from a directory
python3 scripts/cleanse.py "src/" --prune 0.2

# Example 3: Clear ALL signals from a directory (Reset)
python3 scripts/cleanse.py "src/" --all
```

Files in this skill

  • PROTOCOL.md1.8 KB
  • SKILL.md2.4 KB
  • TROUBLESHOOTING.md1.1 KB
  • build_extension.sh1.6 KB
  • extension/.vscodeignore104 B
  • extension/LICENSE1 KB
  • extension/README.md5.5 KB
  • extension/icon.png32.5 KB
  • extension/package.json3.2 KB
  • extension/tsconfig.json308 B
  • requirements.txt39 B
  • scripts/cleanse.py4 KB
  • scripts/secrete.py3.1 KB
  • scripts/sniff.py4 KB
  • scripts/storage.py4.9 KB
  • tests/integration_test.sh2.1 KB
  • tests/test_flow.py3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…