Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/jayasukuv11-beep/agenthelmWrote 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.
[](https://agentmods.dev/rules/jayasukuv11-beep/agenthelm/sdk-python)<a href="https://agentmods.dev/rules/jayasukuv11-beep/agenthelm/sdk-python"><img src="https://agentmods.dev/badge/rules/jayasukuv11-beep/agenthelm/sdk-python/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.
<a href="https://agentmods.dev/rules/jayasukuv11-beep/agenthelm/sdk-python"><img src="https://agentmods.dev/badge/rules/jayasukuv11-beep/agenthelm/sdk-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00274 |
| Opus 5.5 | $0.00000 | $0.00110 |
| Sonnet 5.5 | $0.00000 | $0.00055 |
| Haiku 4.5 | $0.00000 | $0.00027 |
Grade A, and why
sdk-python 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 1mo 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.
What it actually says
AgentHelm Python SDK Rules
Core Initialization
- Always use
import agenthelm. dock = agenthelm.connect("YOUR_KEY")is the standard entry point.
Tool Decoration (Safety First)
- Read-only tools: Use
@dock.read(e.g. searching, listing files). - Side-effect tools: Use
@dock.side_effect(max_retries=3)(e.g. sending Slack, writing small files). - High-risk tools: Use
@dock.irreversible(confirm="telegram")(e.g. deleting users, executing trades).
Observability Best Practices
- Call
dock.progress(percent, "Message")inside long-running loops. - Use
dock.checkpoint("Step Name", state)before executing any function that interacts with external APIs. - Ensure
dock.track_tokens(used, model)is called after every generic LLM call.
Handling Communications
- Define
@dock.on_dispatchto handle incoming tasks from the AgentHelm ecosystem. - Define
@dock.on_chatto handle direct user interactions. - Always call
dock.listen()to keep the agent alive if it's a long-running service.
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.
- 1mo ago First seen · 26 lines · 0 tokens per session scan A 5cd83c89ec52
sdk-python is a cursor rule published in the GitHub repository jayasukuv11-beep/agenthelm (6 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 274 tokens. 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.
Other cursor rules, from other repositories
agent-development
Python agents are typically in folders named agent-py/ or agent/ and use the sdk-python/ package.
development-workflow
CopilotKit uses a monorepo structure with.
quick-reference
Cursor rule "quick-reference" from CopilotKit/CopilotKit, covering copilotkit quick reference, need to...?, build a simple copilot, create multi-agent systems and integrate with crewai.
cursorrules
Cursor rule "cursorrules" from CopilotKit/CopilotKit, covering instructions, additional command options and notes.
docs
This file provides guidelines for working with the documentation in the /docs directory.
nodes
This file provides guidelines for creating and contributing custom tools in the /src/nodes directory.