agentsop-code-execution-decision

Decision guidelines for determining when a language model agent should write and run code (program-of-thought / code interpreter) instead of using natural language reasoning, including classification of each step.

Installation

Review the source and dependencies with a prompt.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "agentsop-code-execution-decision" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a72aa69184b4e7c7306af8a20212eeea806dae8cc621cf2104a07d7d9c8a68e6. Verify the upstream source and version against https://clawhub.ai/agentsope/agentsop-code-execution-decision before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

A complete, approved package is not available yet.

Source and setup

clawhub.ai

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Decision guidelines for determining when a language model agent should write and run code (program-of-thought / code interpreter) instead of using natural language reasoning, including classification of each step.

0 Downloads 0 Share clicks

Introduction source: third_party · agentsope · 0.1.1 Reference

SkillPi interpretation

Tasks
Not specified in the source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Seven operations. Each row is a reusable move. | # | Op | Trigger | Action | Output | Evidence | |---|---|---|---|---|---| | 1 | **Computable-vs-judgment gate** | Any step about to be reasoned | Apply §3 Step 1: single verifiable answer? | Route to code or prose | PoT premise: decouple compute from reasoning [arXiv 2211.12588] | | 2 | **Decompose mixed steps** | Step has both a number and a narrative | Split into computable sub-step (code) + judgment sub-step (prose) | Two routed sub-steps | Mirrors mixed-content split in [[agentsop-output-format-by-model]] §5 Case B | | 3 | **Sandbox choice** | Decided to emit code | Pick interpreter by trust + capability: DSPy PoT (Python sandbox), OpenAI
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

A verified file list is not available on Skillπ yet.

Browse files at the source ↗

Original SKILL.md

Open original ↗

Skillπ does not display the original SKILL.md on this page. View the original source ↗ The source site governs the file contents, license, and use terms.

Current listing version

0.1.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供语言模型代理在代码执行与自然语言推理之间的关键决策准则,解决实际工程痛点
  • 覆盖多框架集成(DSPy、OpenAI、Anthropic、LangChain),具有广泛适用性
  • 通过案例明确区分可计算任务与判断任务,有效防止算术幻觉和过度编码
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包含算术、数据操作、确定性转换等核心场景及反触发条件
  • 关键词清晰(如 code interpreter, PoT, under-coding),边界定义明确
Structure and Standards94/100

Areas to improve

  • 文档长度接近上限 Reported severity: Minor

    主文档约 480 行,接近 500 行建议上限,可能影响可读性

    Recommendation: 建议增加目录导航或拆分为多个子章节以提升可维护性

Highlights

  • 结构完整,包含决策流程、操作模型、案例分析和跨框架对照
  • 提供端到端示例和快速参考卡,便于实际应用
Execution Reliability93/100

Highlights

  • 工具来源明确,参数配置合理(如 max_iters ≈ 3)
  • 覆盖错误处理、沙箱选择和安全边界(如 LangChain PythonREPLTool 风险提示)
  • 引用文件完整,无缺失或截断
Evidence Verifiability (mean of the first four)94/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

No text check results available.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

The main document is unavailable or exceeds this check’s scope; permissions are unknown.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

risk · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.