AgentStack
SKILL verified MIT Self-run

Doctor

skill-haipingshi-coderail-doctor · by HaipingShi

Inspect whether CodeRail is installed correctly and report health across North Star, Coordinate, Task Contract, Harness, Handoff, Asset Boundary, and Trace Graph. Use before adopting the kit or when workflow feels noisy.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-haipingshi-coderail-doctor

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Doctor? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Doctor

Run a lightweight health check of the governance setup across seven sections.

Checks

  1. AGENTS.md exists and mentions North-Star Kernel and CodeRail Coordinate.
  2. docs/NORTH_STAR.md exists and is under 100 lines.
  3. Coordinate: tasks in docs/TASKS.md carry a complete CodeRail Coordinate (G/T/S/V/X/P); done tasks show V and P (TASKS + TRACE).
  4. docs/HARNESS_SPEC.md exists and defines global checks.
  5. docs/HANDOFF.md exists, is under 120 lines unless H3, and has a Coordinate Summary.
  6. docs/ASSETS.md exists when raw material, generated docs, or release artifacts are used.
  7. docs/LESSONS.md is not being used as a full log.
  8. No task is marked done without a harness result.
  9. Trace Graph: docs/TRACELOG.jsonl and docs/TRACE_INDEX.md are present; no change events without task/northstar; no verify events without harnessresult; index is fresh.
  10. git status has no unexpected changes.

Coordinate health score

Report:

  • coordinate coverage (share of tasks with a coordinate block)
  • missing G
  • missing V
  • scope violations (forbidden files touched)
  • missing P
  • trace events without a coordinate

Optional script

python3 scripts/doctor.py --target .

This integrates coordinate_check.py and trace_doctor.py.

Output

## Governance Doctor Report

Status: healthy | usable with warnings | unhealthy

### North Star
- 

### Coordinate
- coverage:
- missing G:
- missing V:
- scope violations:
- missing P:

### Task Contract
- 

### Harness
- 

### Handoff
- 

### Asset Boundary
- 

### Trace Graph
- 

Suggested fixes:
- /align
- /task-contract
- /trace
- /link
- /drift-check

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.