richfrem/agent-plugins-skills / plugins/agent-agentic-os/.apm/skills/running-control-plane
running-control-plane
FlaggedCRITICAL INTAKE GATEWAY: use at the start of any non-trivial engineering task, feature, refactor, multi-file bugfix, work package or new idea, including requests to explore, brainstorm, build, fix or change something, before planning or code changes. Enforces read-only discovery, 1-3 structured questions with defaults, control-plane registration and the immutable four-pillar TASK_SPEC.md. Also runs the rest of the control plane: health ("run health check", "check os metrics", "system monitor", event bus, locks, memory, "is my signing identity ready" status check), transition simulation ("dry run transition", "simulate transition", "check edge X -> Y"), worktree selection, and gating on/off ("disable the control plane", "turn off the push guard", "stop gating my commits"). Not for project setup or key creation (use setting-up-agentic-os) or improving skills (use improving-skills-in-lab).
scripts/check_plan_links.py
View on GitHub#!/usr/bin/env python3
"""
check_plan_links.py
===================
Validates local Markdown link targets in planning documents.
Usage:
python3 check_plan_links.py <path-to-markdown-file>
"""
import re
import sys
from pathlib import Path
LINK_PATTERN = re.compile(r"\[([^\]]+)\]\(([^)]+)\)")
def check_links(file_path: Path) -> int:
if not file_path.exists():
print(f"Error: file not found: {file_path}", file=sys.stderr)
return 1
content = file_path.read_text(encoding="utf-8")
base_dir = file_path.parent
broken = []
total = 0
for match in LINK_PATTERN.finditer(content):
_, target = match.groups()
target = target.strip()
# Skip external URLs, email, anchors
if (
target.startswith("http://")
or target.startswith("https://")
or target.startswith("mailto:")
or target.startswith("#")
):
continue
# Strip anchor from target if present
clean_target = target.split("#", 1)[0]
if not clean_target:
continue
total += 1
resolved = (base_dir / clean_target).resolve()
if not resolved.exists():
broken.append((target, resolved))
if broken:
print(f"FAILED: Found {len(broken)} broken links in {file_path}:", file=sys.stderr)
for original, res_path in broken:
print(f" - '{original}' (resolved: {res_path})", file=sys.stderr)
return 1
print(f"All local links valid ({total} checked) in {file_path}")
return 0
def main() -> None:
if len(sys.argv) < 2:
print("Usage: check_plan_links.py <markdown-file>", file=sys.stderr)
sys.exit(2)
target_file = Path(sys.argv[1]).resolve()
sys.exit(check_links(target_file))
if __name__ == "__main__":
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |