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.
npx agentmods add rules/linhai0872/agno-agent-starter/teamsgit clone --depth 1 https://github.com/linhai0872/agno-agent-starterWrote 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/linhai0872/agno-agent-starter/teams)<a href="https://agentmods.dev/rules/linhai0872/agno-agent-starter/teams"><img src="https://agentmods.dev/badge/rules/linhai0872/agno-agent-starter/teams.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00445 |
| Opus 5 | $0.00000 | $0.00222 |
| Sonnet 5 | $0.00000 | $0.00089 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
teams 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 5d 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
Team 开发规范
何时使用
| 场景 | 推荐方案 |
|---|---|
| 单一任务,工具调用 | Agent |
| 多角色协作,共识决策 | Team |
| 严格步骤控制,条件分支 | Workflow |
目录结构
app/teams/
├── __init__.py # 注册入口
└── my_team.py # Team 实现
Team 模板
from agno.agent import Agent
from agno.db.postgres import PostgresDb
from agno.team import Team
from app.models import ModelConfig, ProjectConfig, create_model
PROJECT_CONFIG = ProjectConfig(api_key_env="MY_TEAM_KEY")
TEAM_MODEL_CONFIG = ModelConfig(
model_id="google/gemini-2.5-flash-preview-09-2025",
temperature=0.3,
)
def create_my_team(db: PostgresDb) -> Team:
researcher = Agent(
name="Researcher",
role="Research information",
model=create_model(TEAM_MODEL_CONFIG, PROJECT_CONFIG),
)
writer = Agent(
name="Writer",
role="Write content",
model=create_model(TEAM_MODEL_CONFIG, PROJECT_CONFIG),
)
return Team(
id="my-team",
model=create_model(TEAM_MODEL_CONFIG, PROJECT_CONFIG),
members=[researcher, writer],
db=db,
instructions=["First research, then write."],
show_members_responses=True,
)
注册
# app/teams/__init__.py
from app.teams.my_team import create_my_team
teams.append(create_my_team(db))
关键参数
| 参数 | 说明 |
|---|---|
| id | Team ID,kebab-case |
| model | Leader 模型 |
| members | Agent 列表 |
| delegate_to_all_members | 并行委派所有成员 |
| share_member_interactions | 成员间共享交互历史 |
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.
- 5d ago First seen · 78 lines · 0 tokens per session scan A 554e4bbb8fac
teams is a cursor rule published in the GitHub repository linhai0872/agno-agent-starter (6 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 445 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
agents
Единые правила и скиллы проекта (зеркало AGENTS.md).
cursorrules
You are an AI agent building the module: {{MODULENAME}} This module is part of the Mnemosyne Neural OS ecosystem by XPACEGEMS LLC.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.