Integration Progress — dep_manifest.py
Status: COMPLETE
- Date: 2026-05-05
- Engineer: Socrates (subagent)
Deliverable
/home/hoffmann_admin/.openclaw/shared/build-20260505/backend/dep_manifest.py
What it does
A Python CLI script that scans a skill directory and produces a dependency-manifest.json:
- Python imports — Scans all
.pyfiles via AST, classifies stdlib vs third-party - CLI binaries — Scans SKILL.md for known CLI tool names (gh, jq, ffmpeg, python, etc.)
- File references — Scans SKILL.md for path references under
scripts/,references/,assets/,utils/,tests/ - Skill dependencies — Scans SKILL.md for referenced skill names
Output schema
Each category entry: {"name": str, "sourceRef": str, "status": "ok"|"warn"|"error", "suggestion": str | null}
Categories: imports, fileRefs, binDeps, skillDeps
Flags
--tree— Pretty-print tree to stdout--stdout— JSON to stdout (instead of writing to file)- No args — Writes
dependency-manifest.jsonto skill root
Verified
- ✅ Script runs clean on skill-creator directory
- ✅ Writes
dependency-manifest.jsonto skill root - ✅
--stdoutflag works - ✅
--treeflag works - ✅ Duplicate imports merged (most severe status wins)