python-scratchpad
Use the existing Python execution tools as a scratchpad for calculations, data transformation, and quick script-based validation.
소스 정보
- 저장소
- OpenBMB/ChatDev
- 최근 소스 활동
- 2026년 3월 10일 18:38
- 감지된 SKILL.md 언어
- 영어
- 스타
- 34,480
- 포크
- 4,322
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- python-scratchpad
- description
- Use the existing Python execution tools as a scratchpad for calculations, data transformation, and quick script-based validation.
- allowed-tools
- execute_code
# Python Scratchpad
Use this skill when the task benefits from a short Python script instead of pure reasoning.
This skill is especially useful for:
- arithmetic and unit conversions
- validating regexes or parsing logic
- transforming JSON, CSV, or small text payloads
- checking assumptions with a small reproducible script
Requirements:
- The agent should have access to `execute_code`.
Workflow:
1. If the task needs computation or a repeatable transformation, activate this skill.
2. If you need examples, call `read_skill_file` for `references/examples.md`.
3. Write a short Python script for the exact task.
4. Prefer `execute_code`.
5. Use the script output in the final answer.
6. Keep scripts small and task-specific.
Rules:
1. Prefer standard library Python.
2. Print only the values you need.
3. Do not invent outputs without running the script.
4. If `execute_code` is not available, say exactly: `No Python execution tool is configured for this agent.`
5. Do not claim there is a generic execution-environment problem unless a tool call actually returned such an error.
Expected behavior:
- Explain the result briefly after using the script.
- Include the computed value or transformed output in the final answer.
GitHub에서 보기