akiiwa-games/AgentCompass / skills/dot-subagent
dot-subagent
VerifiedLeaf-only runner for the local OpenAI Dot through dot2api. Use only after agent-compass has chosen Dot. Covers the runner, packets, code written and run on Dot's own computer, and how data reaches it (public re-fetch, text packets, the private GitHub repository) and how results come back. No routing and no spawning children.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.5 KB |
| agents/openai.yaml | config | 290 B |
| scripts/dot-subagent.cmd | script | 72 B |
| scripts/github_return.py | script | 8.0 KB |
| scripts/github_send.py | script | 18.1 KB |
| scripts/pack_chunks.py | script | 9.7 KB |
| scripts/parallel_fetch.py | script | 1.9 KB |
| scripts/remote_root.py | script | 1.7 KB |
| scripts/run_dot_task.py | script | 21.7 KB |
| scripts/test_executable_discovery.py | script | 2.7 KB |
| scripts/test_github_return.py | script | 6.2 KB |
| scripts/test_github_send.py | script | 11.8 KB |
| scripts/test_pack_chunks.py | script | 5.0 KB |
| scripts/test_parallel_fetch.py | script | 3.6 KB |
| scripts/test_remote_root.py | script | 1.6 KB |
| scripts/test_run_dot_task.py | script | 5.2 KB |
| scripts/test_unpack_files.py | script | 3.9 KB |
| scripts/unpack_files.py | script | 4.7 KB |
scripts/remote_root.py
View on GitHub"""Shared writable-root preflight for text and GitHub transfer packets."""
import re
import shlex
def check_root(root):
if root != "auto" and not re.fullmatch(r"/[A-Za-z0-9_./\-]+", root):
raise ValueError(f"root must be 'auto' or an absolute path of plain characters, got {root!r}")
def root_command(root="auto"):
check_root(root)
if root != "auto":
return f"ROOT={root}"
# Discover the live environment, then prove writability with a real file.
# An explicit remote DOT_WORK_ROOT must succeed instead of silently relocating data.
probe = '''import os, pathlib, tempfile
configured = os.environ.get("DOT_WORK_ROOT")
candidates = [configured] if configured else [os.environ.get("TMPDIR"), tempfile.gettempdir(), os.getcwd(), str(pathlib.Path.home())]
for candidate in candidates:
if not candidate:
continue
try:
root = pathlib.Path(candidate).resolve()
with tempfile.TemporaryFile(dir=root):
pass
except OSError:
continue
print(root)
break
else:
raise SystemExit("No writable work root; configure DOT_WORK_ROOT or pass --root")
'''
return f"ROOT=$(python3 -c {shlex.quote(probe)}) && [ -n \"$ROOT\" ]"
def root_step(xfer, root="auto"):
command = root_command(root)
return (f'`{command} && mkdir -p "$ROOT/rm-xfer-{xfer}/parts" '
f'&& touch "$ROOT/rm-xfer-{xfer}/.w" && rm "$ROOT/rm-xfer-{xfer}/.w" '
'&& printf "ROOT=%s\\n" "$ROOT"`. If no ROOT line is printed, stop and reply '
'`EXECUTED: no` with the error. Use the printed ROOT as a literal path in every later '
'command (variables may not survive between commands) and report it as `ROOT:` in the reply')
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 |