add-tool

GitHub

用于向 Strands Agent 添加自定义功能工具,支持 Python 或 TypeScript。当用户要求让 Agent 调用应用代码、API 或其他确定性能力时使用。

.agents/skills/strands/skills/add-tool/SKILL.md strands-agents/harness-sdk

Trigger Scenarios

需要为 Strands Agent 集成自定义函数或 API 要求 Agent 具备调用外部确定性逻辑的能力

Install

npx skills add strands-agents/harness-sdk --skill add-tool -g -y
More Options

Non-standard path

npx skills add https://github.com/strands-agents/harness-sdk/tree/main/.agents/skills/strands/skills/add-tool -g -y

Use without installing

npx skills use strands-agents/harness-sdk@add-tool

指定 Agent (Claude Code)

npx skills add strands-agents/harness-sdk --skill add-tool -a claude-code -g -y

安装 repo 全部 skill

npx skills add strands-agents/harness-sdk --all -g -y

预览 repo 内 skill

npx skills add strands-agents/harness-sdk --list

SKILL.md

Frontmatter
{
    "name": "add-tool",
    "description": "Add a custom function tool to a Strands agent in Python or TypeScript. Use when the user asks to let a Strands agent call application code, an API, or another deterministic capability."
}

Add a tool to a Strands agent

Read the shared Strands skill and the tool guide completely.

Inspect the existing agent and implement one narrow tool with a model-readable description and typed input schema. Keep secrets and caller identity out of model-visible parameters. Test the deterministic capability directly, then exercise an agent request that requires the tool when model credentials are available.

Version History

  • 1adcaf9 Current 2026-10-20 04:22

Same Skill Collection

.agents/skills/docs-audit/SKILL.md
.agents/skills/docs-diagrams/SKILL.md
.agents/skills/docs-planner/SKILL.md
.agents/skills/docs-reviewer/SKILL.md
.agents/skills/docs-writer/SKILL.md
.agents/skills/pr-create/SKILL.md
.agents/skills/pr-feedback/SKILL.md
.agents/skills/pr-writer/SKILL.md
.agents/skills/pre-push/SKILL.md
.agents/skills/strands/SKILL.md
.agents/skills/strands/skills/add-mcp-server/SKILL.md
.agents/skills/strands/skills/build-with-strands/SKILL.md
.agents/skills/strands/skills/port-from-langgraph/SKILL.md
.agents/skills/strands/skills/scaffold-agent/SKILL.md
.agents/skills/strands-review/SKILL.md

Metadata

Files
0
Version
1adcaf9
Hash
7401d125
Indexed
2026-10-20 04:22

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-24 13:16
浙ICP备14020137号-1