dse120071750/m8m-harness-builder / skills/m8m/m8m-harness-builder/templates
__SKILL_NAME__
VerifiedM8M 3.1 product skill whose closed native source compiles into a displayable, executable milestone workflow.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.1 KB |
| asset.output.schema.json | config | 578 B |
| codebase-launcher.py | script | 17.6 KB |
| milestone/assemble.py | script | 8.3 KB |
| milestone/gem.md | markdown | 3.2 KB |
| milestone/judge_input.schema.json | config | 1.3 KB |
| milestone/judge_output.schema.json | config | 589 B |
| milestone/judge_test_tool.py | script | 1.4 KB |
| milestone/judge_tool.py | script | 1.1 KB |
| milestone/test_assemble.py | script | 1.1 KB |
| product-SKILL.md | markdown | 2.1 KB |
| run.py | script | 2.2 KB |
| step/draft.schema.json | config | 257 B |
| step/input.schema.json | config | 245 B |
| step/output.schema.json | config | 237 B |
| step/test_tool.py | script | 683 B |
| step/tool.py | script | 955 B |
run.py
View on GitHub"""Point this built skill to its codebase-owned M8M launcher."""
import sys
# A normal script launch prepends this product skill's scripts directory to
# sys.path. Re-exec through the platform builtin before importing any non-builtin
# module so a sibling hashlib.py/subprocess.py cannot run before verification.
if not sys.flags.isolated:
_platform = __import__("nt" if "nt" in sys.builtin_module_names else "posix")
_arguments = [sys.executable, "-I", "-B", __file__, *sys.argv[1:]]
if hasattr(_platform, "spawnv"):
# Windows spawnv joins tokens without quoting. Preserve each argument
# using CRT rules before importing any potentially shadowed module.
def _windows_argument(value):
quoted, backslashes = '"', 0
for character in value:
if character == "\\":
backslashes += 1
elif character == '"':
quoted += "\\" * (backslashes * 2 + 1) + '"'
backslashes = 0
else:
quoted += "\\" * backslashes + character
backslashes = 0
return quoted + "\\" * (backslashes * 2) + '"'
raise SystemExit(_platform.spawnv(
0, sys.executable, [_windows_argument(value) for value in _arguments]
))
_platform.execv(sys.executable, _arguments)
raise SystemExit("M8M isolated bootstrap exec unexpectedly returned")
import hashlib
import subprocess
from pathlib import Path
M8M_SKILL_POINTER_ABI = "m8m_skill_pointer_v2"
launcher = Path(r"__CODEBASE_LAUNCHER__").absolute()
expected_launcher_sha256 = "__CODEBASE_LAUNCHER_SHA256__"
if not launcher.is_file():
raise SystemExit(
"The built skill's codebase M8M launcher is unavailable: "
f"{launcher}. Rebuild/install the skill from its owning codebase."
)
digest = hashlib.sha256(launcher.read_bytes()).hexdigest()
if digest != expected_launcher_sha256:
raise SystemExit(
"The built skill's codebase M8M launcher failed its pinned digest check. "
"Rebuild/install the skill from its owning codebase."
)
completed = subprocess.run(
[sys.executable, "-I", "-B", str(launcher), *sys.argv[1:]],
check=False,
)
raise SystemExit(completed.returncode)
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 | Verified | 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 |