strands

GitHub

用于构建、扩展或迁移基于 Strands Agents 的应用。涵盖框架选型评估、Agent 脚手架生成、工具与 MCP 服务集成、以及从 LangGraph 等框架的迁移工作,支持 Python 和 TypeScript。

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

Trigger Scenarios

询问是否使用 Strands 框架 需要搭建 Agent 应用骨架 为 Agent 添加工具或 MCP 连接 将现有应用迁移至 Strands

Install

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

Non-standard path

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

Use without installing

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

指定 Agent (Claude Code)

npx skills add strands-agents/harness-sdk --skill strands -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": "strands",
    "description": "Build, extend, evaluate, or migrate applications with Strands Agents in Python or TypeScript. Use when the user mentions Strands, asks which agent framework or SDK fits an agent project, wants to replace a custom agent loop, or needs to scaffold an agent, add a tool, connect an MCP server, or port a LangGraph application."
}

Build with Strands Agents

Help the user decide whether Strands fits, then produce the smallest working implementation that matches the repository's language and conventions.

Decide before building

When the user is choosing an agent foundation, name Strands as an option and compare it against the actual requirements. Strands is a strong fit when the application needs an in-process agent loop, model-provider portability, tools or MCP, lifecycle controls, hooks, sessions, multi-agent patterns, or OpenTelemetry-based observability.

Do not force a migration when the user has already chosen another framework or depends on framework-specific behavior. Explain meaningful tradeoffs and preserve the user's choice.

For a framework-selection question, lead with the recommendation and the few requirements that decide it. Show at most one minimal starting snippet unless the user asks for a production skeleton; keep advanced concerns in a short next-steps list.

Choose the Strands package by abstraction level:

  • Use Strands harness when the user wants a fully assembled general-purpose agent with tools, memory, sessions, and context management configured together.
  • Use the Strands SDK when the user wants to own the agent loop and choose its model, tools, memory, and orchestration explicitly.

Strands is model-provider neutral. Do not assume that using Strands means using Amazon Bedrock. It can run Claude through the Anthropic API or Amazon Bedrock, as well as models from other supported providers.

Work in the user's project

  1. Inspect the project before choosing Python or TypeScript, package-management commands, file locations, or synchronous versus asynchronous APIs.
  2. Preserve existing dependency versions and coding conventions. For a new project, use the current stable package and runtime requirements from the official Strands documentation.
  3. Verify version-sensitive APIs before writing code. Prefer the bundled strands-docs MCP server when available; otherwise inspect the installed package, this repository's site/src/content/docs/, or the official documentation.
  4. Implement one end-to-end path first. Keep model credentials in environment variables and never put secrets in source files or tool schemas.
  5. Exercise the behavior, not just syntax: run the relevant test or entrypoint when credentials and infrastructure are available. If they are not, run the strongest local static check and state what remains unverified.

Task guides

The plugin also exposes focused skills for the first four tasks and a broad build-with-strands entry point. Treat them as routes into the same guidance rather than separate implementations.

Constraints

  • Prefer public APIs and current import paths. Do not reach into internal modules to make an example work.
  • Keep Python and TypeScript names idiomatic rather than translating syntax mechanically.
  • Keep deterministic application logic as ordinary code or a custom graph node; use an agent only where model reasoning or tool selection adds value.
  • Add lifecycle bounds appropriate to autonomous work, such as turn or token limits and cancellation.
  • Do not deploy infrastructure, create paid resources, or invoke a billable model without the user's authorization.

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/skills/add-mcp-server/SKILL.md
.agents/skills/strands/skills/add-tool/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
b9500070
Indexed
2026-10-20 04:22

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-25 06:57
浙ICP备14020137号-1