agentleFS
scoobydont-666scoobydont-666/shared-claude-skills/skills/project-management/SKILL.md

project-management

Skill1 starsChanged 5 months agoMITView on GitHub

Autonomous work execution across all Swarm projects. Reads last session summary, picks highest-priority work, executes it, then loops to the next item. Only stops when blocked on the operator or nothing remains. Trigger on: "what's the status", "project status", "what needs work", "prioritize", "what's next", "plan work", "coordinate", "which projects", "phase status", "roadmap", "backlog", "session start", "session end", "wrap up", "what should I work on", "keep going", "crank it out", or any request to understand or organize work across multiple Swarm heads.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only check repos/services mentioned in context_for_next.

    line 41
  2. Distinctive:

    Start executing immediately.

    line 49
  3. Distinctive:

    Commit after every meaningful unit of work: Don't batch up.

    line 73
  4. Distinctive:

    Pre-flight batch operations: check target schema first, test on 1 record, verify full pipeline, then scale.

    line 75
  5. Distinctive:

    Use subagents for parallel work: when items are independent (e.g., tests on <gpu-host> while writing code on <primary-host>).

    line 79
  6. Distinctive:

    Commit everything. Don't leave dirty repos.

    line 104
  7. Distinctive:

    ALWAYS run — catches skill edits, script changes, hook updates:

    line 127
  8. Distinctive:

    Check swarm status before starting work on any shared project.

    line 260
  9. Distinctive:

    Don't work on the same project another instance is actively editing.

    line 261
  10. Distinctive:

    Use git worktrees for parallel work on the same repo.

    line 262
  11. Distinctive:

    Commit frequently — other instances pull your changes.

    line 263

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Project Management — Autonomous Execution Loop

Work continuously across all Swarm projects. Do not stop to ask permission. Execute the highest-priority item, commit, move to the next. Only stop when:

  1. Nothing left to do — all actionable items complete
  2. Blocked on operator — needs credentials, physical access, review, or a decision
  3. Operator says stop — explicit instruction to halt

Startup (fast — under 60 seconds)

1. Read Last Session Summary

ls -t /opt/swarm/artifacts/summaries/*.yaml | head -1 | xargs cat

This is the source of truth. It tells you what was done, what's blocked, and context_for_next. Do NOT rediscover project state from scratch.

2. Quick Status (parallel)

python3 <coordination-tool-root>/src/swarm_cli.py status
python3 <coordination-tool-root>/src/swarm_cli.py inbox
ls /opt/swarm/tasks/pending/task-*.yaml 2>/dev/null

3. Targeted Checks

Only check repos/services mentioned in context_for_next. Skip everything else.

4. Build Work Queue

Apply Priority Framework. Build an ordered list of actionable items. Separate into two lists:

  • ACTIONABLE — can do right now, no blockers
  • BLOCKED — needs operator, hardware, credentials, etc.

Start executing immediately. Don't pause to report the queue — the operator will see progress in commits and status lines.


Work Loop

WHILE actionable_items remain:
    1. Pick highest-priority ACTIONABLE item
    2. Execute it (write code, run tests, commit, push)
    3. After completing each item:
       a. Commit with meaningful message
       b. Run tests if applicable
       c. Update the project registry if phase changed
       d. Brief status line to operator (1 sentence)
    4. Re-evaluate: did this unblock anything? Add to queue.
    5. Continue to next item

WHEN all actionable items done OR blocked:
    → Run Session End Protocol
    → Report blocked items to operator

Work Loop Rules

  • Commit after every meaningful unit of work. Don't batch up.
  • Run tests before moving on from any project that has them.
  • Pre-flight batch operations: check target schema first, test on 1 record, verify full pipeline, then scale.
  • Verify before editing specs: SSH to the machine (nvidia-smi, lscpu, free -h) before changing hardware claims.
  • If a task takes >30 min and you haven't updated the operator, give a brief status line.
  • If you hit an unexpected blocker, log it and move to the next item. Don't spin.
  • Use subagents for parallel work when items are independent (e.g., tests on <gpu-host> while writing code on <primary-host>).
  • Use <gpu-host> for speed — SSH to <gpu-host> for test execution, heavy builds, anything CPU-bound.
  • Never ask "want me to do X?" — if it's non-breaking and moves forward, just do it.

Session End Protocol

Execute when all work is done or all remaining items are blocked.

1. Uncommitted Work Check

for dir in <repo-path>/e <repo-path>/f <repo-path>/g <repo-path>/h \
           <repo-path>/i <repo-path>/j /opt/projects/main <repo-path>/b \
           <coordination-tool-root> <repo-path>/a <repo-path>/c <repo-path>/d \
           <repo-path>/k; do
  if [ -d "$dir/.git" ]; then
    changes=$(git -C "$dir" status --porcelain 2>/dev/null | wc -l)
    if [ "$changes" -gt 0 ]; then
      echo "UNCOMMITTED: $dir ($changes files)"
    fi
  fi
done

Commit everything. Don't leave dirty repos.

2. Generate Session Summary

Write to /opt/swarm/artifacts/summaries/<hostname>-<timestamp>.yaml:

hostname: <hostname>
session_id: <session>
timestamp: <now>
project: <primary project worked on>
duration_minutes: <estimate>
key_decisions:
  - <decision 1>
files_changed:
  - <file 1>
issues_found:
  - <issue if any>
artifacts_produced:
  - <artifact if any>
context_for_next: "<explicit handoff — what to pick up, what's blocked, what changed>"

The context_for_next field is the most important. Be specific.

3. Skill & Config Sync

ALWAYS run — catches skill edits, script changes, hook updates:

cd /opt/claude-configs/claude-config && ./scripts/collect.sh
git -C /opt/claude-configs/claude-config add -A
git -C /opt/claude-configs/claude-config diff --cached --stat
git -C /opt/claude-configs/claude-config commit -m "sync: updates from $(hostname) session" || true
git -C /opt/claude-configs/claude-config push || true

This is NOT optional. Every session end must sync claude-config.

4. Final Report

Tell the operator:

  • What was completed
  • What's blocked and why
  • What the next session should pick up

Priority Framework

Tier 1: Revenue & Active Delivery

PriorityCriteriaCurrent Projects
P0Revenue-generating, user-facing, deadline<your-project>
P1Revenue potential, actively buildingClauseHound, Audit Sentinel

Tier 2: Infrastructure & Dependencies

PriorityCriteriaCurrent Projects
P2Unblocks other projectshydra-swarm, AI Server
P3Operational stability<internal-project-1>, fleet hardening

Tier 3: Growth & Future

PriorityCriteriaCurrent Projects
P4Phase 0 scaffoldingDocuMint, <internal-project-3>, <internal-project-4>
P5Research & explorationPrompt Forge, Hashrate Hedger

Tiebreaker Rules

  1. Revenue potential breaks ties between same-tier items.
  2. "What unblocks the most?" breaks ties between infrastructure items.
  3. Resource fit: GPU work only when <gpu-host> is available; CPU/web work anytime on <primary-host>.
  4. Quick wins (<30 min) get a +1 tier bump if they close out a phase.
  5. Security hardening before feature work, always.

Decision Trees

"<gpu-host> is offline"

Available on <primary-host> alone:
- <internal-project-1> maintenance (fullnode, P2Pool, monitoring)
- <your-project> development (CPU-only)
- Audit Sentinel development (SQLite, no GPU needed)
- ClauseHound development (CPU-only)
- Prompt Forge development (CPU-only)
- hydra-swarm development
- Fleet hardening (Ansible roles)
- Documentation, planning, PRDs

Available on <worker-host> (if <gpu-host> down):
- Ollama inference via phi4:14b or qwen3:8b (RTX 5060 Ti)
- ComfyUI workflows (http://<worker-host-ip>:<comfyui-port>)
- <your-project> QA review (phi4 on <worker-host> Ollama)

NOT available without <gpu-host>:
- <internal-project-2> (needs ChromaDB + Ollama on <gpu-host>)
- AI Server stack management (Swarm manager)
- Docker Swarm control plane operations
- Milvus-dependent <internal-project-4> work

"Project at phase boundary"

1. Run verification for current phase (tests, health checks).
2. Update project registry (phase field in this skill + project CLAUDE.md).
3. Check plans/<project>/plan.md for next phase requirements.
4. If next phase needs different resources, create swarm task for appropriate host.
5. Continue to next work item — don't stop.

"New task from operator mid-session"

1. If operator gives explicit work → do it immediately, it's highest priority.
2. After completing it, resume the work queue where you left off.

Project Registry

HeadProjectLocationPhaseStatusHost
#1<internal-project-2><repo-path>/a3+Active, v1 production, v3 degenerate<gpu-host>
#2<internal-project-1><repo-path>/bProductionHardened, public repo<primary-host>
#3<internal-project-3><repo-path>/c1Scaffolded (58 tests)<gpu-host>
--<internal-project-4><repo-path>/d2Form gen + PDF (204 tests)<gpu-host>
--AI Server/opt/projects/infraProductionDocker Swarm v6.0.3, <worker-host> worker<gpu-host>+<worker-host>
#4Audit Sentinel<repo-path>/fM7Security hardened (201 tests)<primary-host>+<gpu-host>
#5Hashrate Hedger<repo-path>/iH6Live dashboard (158 tests), needs <mining-host><primary-host>
#6ClauseHound<repo-path>/gC7Security hardened (165 tests)<primary-host>+<gpu-host>
#7Prompt Forge<repo-path>/hP6Security hardened (163 tests)<primary-host>
#8DocuMint<repo-path>/jD6Cross-document validation (326 tests)<primary-host>
#9ProjectK<repo-path>/k1Built (98 tests), needs Firewalla + JWT<primary-host>
#10Swarm Media<repo-path>/lM4ffmpeg assembly (155 tests)<primary-host>
--<your-project><repo-path>/eE51,112 CPA questions, 6 sections (299 tests)<gpu-host>
--hydra-swarm<coordination-tool-root>5Operational maturity (627 tests)<primary-host>

Fleet Resource Map

HostCPUGPUAvailable For
<primary-host>i5-8500 (6c, light load)noneFullnode, web services, CLI tools, orchestration
<gpu-host>EPYC 7V12 (64c)RTX 5080 16GBLLM inference, Docker Swarm, <internal-project-2>, GPU workloads
<mining-host>Ryzen 9600X (6c)noneXMRig mining (offline, pending Ubuntu)
<worker-host-2>TBDTBDFuture
<worker-host>EPYC 7443P (24c/48t)RTX 5060 Ti 16GBSwarm worker, Ollama, ComfyUI, inference

Phase Tracking Convention

Each project uses its own phase prefix:

  • M1, M2... (Audit Sentinel milestones)
  • H1, H2... (Hashrate Hedger)
  • C1, C2... (ClauseHound)
  • P1, P2... (Prompt Forge)
  • D1, D2... (DocuMint)
  • E1, E2... (<your-project>)

Plans live in <project>/plans/ as markdown files.

Coordination Rules

  • Check swarm status before starting work on any shared project.
  • Don't work on the same project another instance is actively editing.
  • Use git worktrees for parallel work on the same repo.
  • Commit frequently — other instances pull your changes.

Repos (19)

VisibilityRepos
Public (3)monero-farm, shared-claude-skills, hydra-swarm-public
Private (16)swarm-project, claude-config, hydra-swarm, claude-to-cursor, examforge, prompt-forge, hashrate-hedger, audit-sentinel, clausehound, documint, ai-project, project-a, project-c, project-d, solar-sentinel, swarm-media

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.