Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add glebis/claude-skills --skill meta -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/meta/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/meta/

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

Similar skills

All skills for Telegram bots →

From the same set51

The whole set →
gws A skill to access Gmail, Calendar, Drive, Sheets, and other Google Workspace services from AI-coding environments. Requires the gws CLI tool and a valid Google API OAuth token. CX Codex +1 235installs llm-cli Skill to process text and files through the llm CLI, supporting OpenAI, Anthropic, Google Gemini, and local Ollama models. Selects a model interactively, persists settings, and runs in chat or one-off mode. CX Codex +1 235installs granola Use this skill to retrieve Granola notes and transcripts, then save meeting notes to Obsidian. It suits workflows that need searchable records or follow-up analysis. CX Codex +1 234installs chrome-history chrome-history is a Claude Code skill that searches Chrome history in natural language and filters results by date, content type, and keywords. CX Codex +1 234installs context-builder context-builder — a skill for Claude Code, Codex, Cursor and other platforms that generates interactive discovery prompts for AI transformation consulting. CX Codex +1 226installs wispr-analytics wispr-analytics connects to your local Wispr Flow database to review voice dictation trends, track speech prosody, and manage custom dictionaries. CX Codex +1 218installs nano-banana The nano-banana skill generates and edits images with Gemini models, using style presets, reference images, variants, and platform sizes. Use it for thumbnails, slides, or article artwork. CX Codex +1 216installs gpt-image-2 Guides image generation through OpenAI's GPT Image 2 API using structured style presets, cost-saving drafts, and automated prompt validation. CX Codex +1 213installs

More in the catalog

Project sponsors

Companies that keep this analytics open