sdk-python: Skill for Kiro

.kiro/skills/library-development/SKILL.md

library-development is a skill for Kiro from strands-compose/sdk-python. It costs 70 tokens per session (4,158 once invoked), scanned A, original, Apache-2.0.

Development guidance for strands-compose, a Python library that reads YAML configuration and creates connected agent, model, tool, session, and MCP objects.

In plain words
What is it for?
Use it when changing configuration schemas, loaders, resolvers, orchestration, streaming, manifests, or the command-line interface.
Why use it?
It keeps new library code consistent with the existing design and with the APIs provided by its dependencies.

Skill for Kiro

Written for Kiro: installed under .kiro/.

This is strands-compose/sdk-python's own configuration. It tells Kiro how to work on sdk-python itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sdk-python configures →

Reuse

Borrowing it

Nothing to install: this file belongs to strands-compose/sdk-python. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/strands-compose/sdk-python/main/.kiro/skills/library-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/strands-compose/sdk-python

Made for: Kiro.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for library-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/strands-compose/sdk-python/library-development/github.svg)](https://agentmods.dev/skills/strands-compose/sdk-python/library-development)
Your own site
<a href="https://agentmods.dev/skills/strands-compose/sdk-python/library-development"><img src="https://agentmods.dev/badge/skills/strands-compose/sdk-python/library-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for library-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/strands-compose/sdk-python/library-development"><img src="https://agentmods.dev/badge/skills/strands-compose/sdk-python/library-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,158 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.04158
Opus 5.5 $0.00028 $0.01663
Sonnet 5.5 $0.00014 $0.00832
Haiku 4.5 $0.00007 $0.00416

Measured 2mo ago against content hash a1268bf9e3d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

library-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.kiro/skills/library-development/SKILL.md · 321 lines

How it starts

The opening of the file, as written. The whole thing — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Library Development

Rules for the strands-compose library in src/strands_compose/ (Python ≥ 3.11 + Pydantic v2 + strands-agents + PyYAML + MCP). They describe the mental model and conventions, not the current set of files — sections, providers, and orchestration modes come and go, the shape stays.

strands-compose does exactly one thing: read YAML and hand back fully wired, plain strands objects — no wrappers, no subclasses. Everything agent-, model-, session-, tool-, or MCP-related is provided by strands. Before building anything that touches those, check the installed SDK (.venv/lib/python*/site-packages/strands/) and use what it provides rather than re-implementing it. When in doubt about upstream APIs, use the strands-api-lookup skill.

Before creating anything new, read a sibling that plays the same role and copy its shape. Matching the existing pattern matters more than any rule below. See references/project-map.md for where each role lives and what to read first — load it whenever you are unsure where something goes.


Core Principles — NON-NEGOTIABLE

  1. Strands-first — if strands provides it, import and use it directly; never re-implement it. This library is a translator, not a framework.
  2. Thin wrapper — translate YAML to strands objects, then get out of the way. Return plain Agent / Swarm / Graph / Model / MCPClient, never a subclass or proxy.
  3. The pipeline flows one way — text -> dict -> validated schema -> live objects. Never resolve during parsing; never parse during resolution (see The Pipeline).
  4. Explicit over implicit — no auto-registration, no global singletons, no hidden state. Every object is wired by hand and passed as an argument.
  5. Single responsibility — each module does one thing; one resolver per config concept, one builder per orchestration mode.
  6. Composition over inheritance — small functions and focused modules that compose. The only base classes are the strands-facing ones (e.g. HookProvider).
  7. Smallest reasonable change — don't refactor unrelated code to land a feature.

Read the full file on GitHub · 321 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 321 lines · 70 tokens per session scan A a1268bf9e3d8

Subscribe to this mod's changes

library-development is a skill published in the GitHub repository strands-compose/sdk-python (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 70 tokens to every session and 4,158 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

python-testing

Guidelines for writing and running tests in the Agent Framework Python codebase. Use this when creating, modifying, or running tests.

microsoft/agent-framework · 29 tokens

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens

agent-framework-builder-python

Use this skill when building, modifying, reviewing, evaluating, integrating, or hosting Python applications with Microsoft Agent Framework. Use it for Agent Framework agents, harness agents, workflows, orchestrations, declarative definitions, tools, sessions, middleware, evaluation, observability, integrations, or…

microsoft/agent-framework · 76 tokens

python-development

Workflow guidance for developing Python code in the Agent Framework repository. Use this when writing or modifying Python source files under python/.

microsoft/agent-framework · 27 tokens