Agent Skills
› QuixiAI/Hexis
› code-execution
code-execution
GitHub提供代码编译、脚本执行及命令运行能力,支持安全Shell、代码片段直接执行及文件操作。强调展示真实输出与环境状态检查,辅助验证代码逻辑与测试程序。
Trigger Scenarios
需要编译或运行代码片段
执行Shell命令或脚本
验证代码功能或排查环境依赖
Install
npx skills add QuixiAI/Hexis --skill code-execution -g -y
SKILL.md
Frontmatter
{
"name": "code-execution",
"aliases": [
"code",
"script",
"compute",
"calculate",
"run",
"python"
],
"category": "system",
"contexts": [
"heartbeat",
"chat"
],
"requires": {
"tools": [
"safe_shell",
"execute_code"
]
},
"bound_tools": [
"safe_shell",
"execute_code",
"run_script",
"read_file",
"write_file",
"list_directory",
"glob",
"grep",
"edit_file",
"shell",
"browser"
],
"description": "Run programs, shell commands, and scripts — compile and execute code, test programs in installed languages, work with files in the workspace"
}
Code Execution
Use this skill to actually run things: compile a program, execute a script, test code someone shares with you, check what a command outputs, or work with files. Running code is how claims about code become knowledge — a program that compiles and passes its tests teaches you more than any amount of reading it.
Choosing the tool
safe_shell— one shell command with guarded defaults. The right first reach for compiling, running installed binaries, checking versions, and inspecting the environment (which,ls, language toolchains on PATH).execute_code— run a code snippet directly in a supported runtime without touching the filesystem.run_script— a saved multi-step script when the work has real structure.write_file+safe_shell— the classic loop for languages the runtime doesn't embed: write the source file, invoke its compiler or interpreter from the shell, read the output.
Practice
- State what you ran and show the real output — including failures. A compile error is a finding, not an embarrassment.
- Working files belong in the workspace directory; clean up what has no lasting value.
- When a language or binary is missing from PATH, say so plainly and name
what you checked (
which <name>). Absence of a toolchain is a fact about the environment, never something to paper over with imagined output. - Long or destructive operations deserve a sentence of intent before you run them.
Version History
- 97f625f Current 2026-08-29 01:30
- 990da5f 2026-08-20 13:52


