
Add Example Agent
Adds a self-contained example agent under the examples folder for a pattern.
Install
npx skills add GetBindu/Bindu --skill add-example-agent -g -a claude-code -y- Repository
- GetBindu/Bindu10k
- Category
- Engineering
- Updated
- 2mo ago
- License
- See repository
- Context cost
- Lightabout 1,050 tokens
- Runs scripts
- No, instructions only
What it does
Add a new self-contained example agent under examples/. Use when asked to "create an example for <framework>", "add a tutorial agent", "demo integration with <LLM provider>", or when showcasing a new pattern users should copy.
Add Example Agent
Overview
Examples under examples/ are the fastest way users learn Bindu. Each is a self-contained mini-project demonstrating one integration pattern. Follow existing structure, users and agents discover examples by convention, so inconsistency hurts discoverability.
Inputs
<name>: kebab-case slug, e.g.pdf-research-agent,weather-research.<framework>: Python (agno, langchain, langgraph, crewai) or TypeScript (openai, langchain).<purpose>: one-sentence "what this demonstrates".
Safety
- Never commit
.envfiles. Only.env.examplewith placeholder values and# pragma: allowlist secretto bypass pre-commit. - Never hardcode API keys, even in comments.
- Never introduce paid-only services without a free-tier alternative. Examples must be runnable by a new user within minutes.
- Never hardcode ports, default to
3773withBINDU_PORToverride.
Execution Contract
- Pick a matching template from existing examples.
- Create the directory with the required file set.
- Wire the handler to
bindufy()with consistent config. - Write a README following the four-section pattern below.
- Update parent indexes.
- Test end-to-end in a clean environment before committing.
Steps
1. Pick a template
Find an existing example in the same framework and match its layout:
- Python, simple: examples/beginner/
- Python, multi-agent: examples/agent_swarm/
- Python, agno: examples/medical_agent/
- Python, langgraph: examples/langgraph_blog_writing_agent/
- TypeScript, openai: examples/typescript-openai-agent/
- TypeScript, langchain: examples/typescript-langchain-agent/
