hyperlight-codeact skill
scriptsCodeAct via Hyperlight. Use when looping over many files (8+), cross-referencing results from multiple sources, aggregating data across directories, or chaining 5+ dependent tool calls. Collapses N round-trips into one sandboxed Python run via scripts/codeact.py. NOT beneficial for <5 files or simple grep-then-view — direct tool calls have less overhead at small scale. ESPECIALLY valuable when MCP servers are loaded — fewer turns means the MCP tool catalog context is replayed fewer times. Run `scripts/codeact.py --discover` to see available sandbox tools. Trigger: "codeact", "chain tools", "sandbox", "batch", "for each", "hyperlight sandbox", "collapse tool calls", "run in sandbox", "sandbox execution".
- GitHub 스타
- 44
- 파일
- 3
- 마지막 커밋
- 2026년 5월 1일
- 라이선스
- —
- 허용된 도구
- —
hyperlight-codeact skill은 무엇을 하나요?
hyperlight-codeact은(는) agent skill입니다. CodeAct via Hyperlight. Use when looping over many files (8+), cross-referencing results from multiple sources, aggregating data across directories, or chaining 5+ dependent tool calls. Collapses N round-trips into one sandboxed Python run via scripts/codeact.py. NOT beneficial for <5 files or simple grep-then-view — direct tool calls have less overhead at small scale. ESPECIALLY valuable when MCP servers are loaded — fewer turns means the MCP tool catalog context is replayed fewer times. Run `scripts/codeact.py --discover` to see available sandbox tools. Trigger: "codeact", "chain tools", "sandbox", "batch", "for each", "hyperlight sandbox", "collapse tool calls", "run in sandbox", "sandbox execution".
hyperlight-codeact skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 hyperlight-codeact skill 설치
~/.claude/skills/hyperlight-codeact/SKILL.md
$ npx degit jsturtevant/copilot-codeact-plugin/plugins/codeact/skills/hyperlight-codeact ~/.claude/skills/hyperlight-codeactClaude Code (project)에 hyperlight-codeact skill 설치
.claude/skills/hyperlight-codeact/SKILL.md
$ npx degit jsturtevant/copilot-codeact-plugin/plugins/codeact/skills/hyperlight-codeact .claude/skills/hyperlight-codeactCodex에 hyperlight-codeact skill 설치
~/.agents/skills/hyperlight-codeact/SKILL.md
$ npx degit jsturtevant/copilot-codeact-plugin/plugins/codeact/skills/hyperlight-codeact ~/.agents/skills/hyperlight-codeactGemini CLI에 hyperlight-codeact skill 설치
~/.gemini/skills/hyperlight-codeact/SKILL.md
$ npx degit jsturtevant/copilot-codeact-plugin/plugins/codeact/skills/hyperlight-codeact ~/.gemini/skills/hyperlight-codeactClaude.ai에 hyperlight-codeact skill 설치
npx degit jsturtevant/copilot-codeact-plugin/plugins/codeact/skills/hyperlight-codeact hyperlight-codeact && zip -r hyperlight-codeact.zip hyperlight-codeact # claude.ai → Customize → Skills → + → Create skill → Upload a skill → hyperlight-codeact.zip
SKILL.md
GitHub에서 보기Hyperlight CodeAct
Collapse multi-step tool chains into a single sandboxed Python execution inside an isolated Hyperlight micro-VM (WebAssembly).
Syntax
Use call_tool(name, **kwargs) — built-in global, no import needed:
content = call_tool('view', path='src/main.py')
files = call_tool('glob', pattern='**/*.py')
hits = call_tool('grep', pattern='TODO', paths='src')
result = call_tool('bash', command='git log --oneline -5')
call_tool('edit', path='config.json', old_str='"debug": false', new_str='"debug": true')
Return types (critical — wrong assumptions cause retries)
call_tool('glob', ...)→ list of strings like["src/app.py", ...]call_tool('view', ...)→ string (file content)call_tool('bash', ...)→ dict withstdout,stderr,returncodecall_tool('mcp_call', ...)→ string
Pattern
for f in call_tool('glob', pattern='src/**/*.py'):
try:
content = call_tool('view', path=f)
except Exception:
continue
# analyze content...
print(f"{f}: {result}")
Rules
- One bash call, one program. Do not scout with separate tool calls first.
- Wrap file reads in try/except.
glob()returns workspace-relative paths — pass directly toview().- Brace expansion works:
call_tool('glob', pattern='src/{db,services}/**/*.py')
Discover tools
python3 scripts/codeact.py --discover # JSON manifest
python3 scripts/codeact.py --instructions # LLM-ready reference
Tools are auto-detected based on what's installed on the host.
Execute
uv run --python 3.13 --with 'hyperlight-sandbox[wasm,python_guest]>=0.3.0' \
python3 scripts/codeact.py --auto --workspace . --code '...'
Output: {"stdout": "...", "stderr": "...", "exit_code": 0, "success": true}
Trust model
Sandboxed code can only reach the outside world through call_tool() bridges.
Tools run on the host with full process access. Use --workspace to restrict
file tools to a directory tree.
Prerequisites
- Python 3.10–3.13 (Wasm backend has no wheels for 3.14+)
uv(recommended) orpip install 'hyperlight-sandbox[wasm,python_guest]>=0.3.0'
References
이 스킬의 파일
3hyperlight-codeact skill 질문
Claude Code에 hyperlight-codeact skill을 어떻게 설치하나요?
npx degit jsturtevant/copilot-codeact-plugin/plugins/codeact/skills/hyperlight-codeact ~/.claude/skills/hyperlight-codeact를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
hyperlight-codeact skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.