Skip to content

Hello-QM/catgo-LRG / server/catgo/workflow/skills/campaign

campaign-md-orchestration

Verified

Drive a file-first, agent-in-the-loop computational campaign via a folder + markdown tree (no DB). Use when the user opts out of the visual workflow engine.

scripts/test_skill_structure.py

View on GitHub
"""The campaign SKILL + template exist and document the gates + conventions."""
from pathlib import Path

_SKILL = Path(__file__).resolve().parents[1]   # .../skills/campaign


def test_skill_md_documents_gates_and_conventions():
    text = (_SKILL / "SKILL.md").read_text()
    low = text.lower()
    assert "input-file gate" in low
    assert "cluster.md" in text
    assert "yolo" in low
    assert "never guess" in low or "do not guess" in low
    assert "STATUS.md" in text
    assert "submit_calc.py" in text     # points the agent at the scripts
    assert "progressive" in low


def test_saa_her_template_has_funnel():
    text = (_SKILL / "templates" / "saa_her" / "plan.md").read_text()
    assert text.lstrip().startswith("# ")
    assert "**TL;DR:**" in text
    assert "decision point" in text.lower()
    assert "dG_H" in text or "ΔG" in text


def test_catgo_cli_reference_exists_and_lists_ops():
    ref = _SKILL / "references" / "catgo-cli.md"
    assert ref.is_file()
    text = ref.read_text()
    assert text.lstrip().startswith("# ")
    assert "**TL;DR:**" in text
    for op in ("catgo slab", "catgo convert", "catgo dos", "catgo freq",
               "catgo band", "catgo cohp"):
        assert op in text, f"{op} not documented"


def test_skill_md_links_cli_reference_and_aggregate():
    text = (_SKILL / "SKILL.md").read_text()
    assert "references/catgo-cli.md" in text
    assert "aggregate.py" in text        # P2 aggregation wired into the loop
    assert "make_report.py" in text


def test_skill_md_offers_brainstorm_choice():
    text = (_SKILL / "SKILL.md").read_text()
    low = text.lower()
    assert "brainstorm" in low
    # the agent must ASK the user how to create the plan, not assume
    assert "ask the user" in low or "ask first" in low
    assert "plan.md" in text
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 322kUpdated Claude CodeCodexVerifiedInstall