meta — Claude Code skill: editing Telegram bot code
Registers a /meta handler to run Claude Code Agent SDK sessions inside the telegram_agent directory and edit the bot from chat.
MIT 228 installs ★ 414 updated 2026-10-23
npx skills add glebis/claude-skills --skill meta -a claude-codeWhat meta does
This skill outlines a /meta command handler pattern for a Telegram bot. Once triggered with a prompt, the bot launches a Claude Code Agent SDK session pointing to ~/ai_projects/telegram_agent and sends the result back to Telegram.
The skill functions as an architectural pattern rather than an executable script. Using it requires changes in the bot repository: registering the command in src/bot/bot.py, adding logic to src/bot/handlers/claude_commands.py, and passing the folder path via cwd into ClaudeCodeService.
What it helps with
- modify Telegram bot code directly through Telegram messages
- spawn Claude Code Agent SDK sessions targeting
telegram_agent - patch message handlers and file sending without opening a terminal
Example prompts for the agent
- /meta fix bug in message handler
- /meta add error recovery to file sending
- /meta refactor the session management
How to install meta
1Skills CLI (Vercel)
npx skills add glebis/claude-skills --skill meta -a claude-code2Manually: put the files in place
~/.claude/skills/meta/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/meta/
1Skills CLI (Vercel)
npx skills add glebis/claude-skills --skill meta -a codex2Manually: put the files in place
.agents/skills/meta/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add glebis/claude-skills --skill meta -a cursor2Manually: put the files in place
.cursor/skills/meta/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install glebis/claude-skills meta2Manually: put the files in place
.github/skills/meta/SKILL.md1Skills CLI (Vercel)
npx skills add glebis/claude-skills --skill meta -a gemini-cli2Platform CLI
gemini skills install https://github.com/glebis/claude-skills --path metaManually: put the files in place
.devin/skills/meta/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add glebis/claude-skills --skill meta -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about meta
How to install meta in Claude Code?
Run npx skills add glebis/claude-skills --skill meta -a claude-code.
What does the meta skill do?
It configures a /meta command handler that runs Claude Code Agent SDK sessions in ~/ai_projects/telegram_agent to modify the bot.
Which bot files need modification for this handler?
The handler logic goes into src/bot/handlers/claude_commands.py, and command registration is added to src/bot/bot.py.
Source text
SKILL.md · MIT
---
name: meta
description: Execute Claude Code commands in the telegram_agent project directory. Use when the user wants to work on the telegram agent itself, fix bugs, add features, or modify the bot code. This is a COMMAND HANDLER, not a script executor.
---
# Meta Skill - Command Handler
⚠️ **IMPORTANT**: This skill is a COMMAND HANDLER registration. It tells the bot to handle `/meta` commands by spawning Claude Code Agent SDK sessions in the telegram_agent directory.
## What This Does
Registers `/meta` as a command handler that:
1. Takes the user's prompt after `/meta`
2. Spawns a Claude Code Agent SDK session
3. Sets working directory to `~/ai_projects/telegram_agent`
4. Returns responses in Telegram
## Implementation
The actual command handler needs to be registered in the telegram bot codebase at:
- `src/bot/handlers/claude_commands.py` - Add meta command handler
- `src/bot/bot.py` - Register the command
## Usage Pattern
User types in Telegram:
```
/meta fix the rate limiting bug
/meta add better logging
/meta refactor authentication
```
Bot spawns Claude Agent SDK with:
- Working directory: `~/ai_projects/telegram_agent`
- Prompt: User's text after `/meta`
- Same infrastructure as `/claude` command
## Example User Requests
- `/meta fix bug in message handler`
- `/meta add error recovery to file sending`
- `/meta refactor the session management`
- `/meta improve the keyboard layout`
## Implementation Notes
Must use `ClaudeCodeService` with custom `cwd` parameter:
```python
service.execute_prompt(
prompt=user_prompt,
cwd="/Users/server/ai_projects/telegram_agent"
)
```
© glebis · MIT · glebis/claude-skills