chatops-session-ops
by Roy Yuen
Operational SOP for debugging, repairing, and maintaining Telegram-to-OpenCode bridge bots and persisted sessions.
- Restore stale Telegram-to-OpenCode sessions via CLI state injection
- Repair corrupted session metadata to re-establish bridge connectivity
- Automate cron job health checks for persistent bot background tasks
Free
One-time purchase
See it in action
Identified 2 orphaned .session files and a malformed cron entry in config.json. Action: Archived stale sessions, reconciled cron timing, and triggered HUP signal. Recovery: Verified via /status check. Status: Restored. Residual Risk: None.
chatops-session-ops
by Roy Yuen
Operational SOP for debugging, repairing, and maintaining Telegram-to-OpenCode bridge bots and persisted sessions.
Free
One-time purchase
⚡ Also available via Agensi MCP — your AI agent can load this skill on demand via MCP. Learn more →
Included in download
- Downloadable skill package
- Works with Codex CLI, OpenCode
- Instant install
See it in action
Identified 2 orphaned .session files and a malformed cron entry in config.json. Action: Archived stale sessions, reconciled cron timing, and triggered HUP signal. Recovery: Verified via /status check. Status: Restored. Residual Risk: None.
About This Skill
Automated Incident Response for Telegram ChatOps
Monitoring and maintaining Telegram-to-CLI bridge bots often involves complex state management across persisted sessions, cron jobs, and file uploads. This skill provides a specialized operational framework for debugging and repairing remote-control bot workflows when they experience connectivity issues or state corruption.
What it does
This skill acts as an automated Site Reliability Engineer (SRE) for your ChatOps infrastructure. It systematically inspects configuration files, persists session states, and monitors bridge health to identify the root cause of failures. Instead of broad resets that lose data, it applies the surgical, smallest-safe-fix approach to restore functionality.
- Session Management: Debugs stuck, missing, or invalid Telegram sessions through upstream verification.
- Cron Operations: Identifies and resolves duplicate, idle, or malformed cron job cycles.
- Upload Handling: Cleans up pending uploads and manages temporary file state to fix upload failures.
- Connectivity Triage: Differentiates between token issues, server reachability problems, and bridge-to-CLI disconnects.
Why use this skill
Manually prompting an AI to fix a bot often leads to dangerous "shotgun debugging" where broader-than-necessary resets cause data loss or security leaks. This skill enforces strict guardrails: it protects sensitive bot tokens, favors evidence-based triage over assumptions, and provides clear reporting on verified versus inferred recovery states. It ensures your bot operations remain stable, secure, and highly available.
📖 Learn more: Best DevOps & Deployment Skills for Claude Code →
Use Cases
- Restore stale Telegram-to-OpenCode sessions via CLI state injection
- Repair corrupted session metadata to re-establish bridge connectivity
- Automate cron job health checks for persistent bot background tasks
- Validate file upload integrity between remote bots and bridge servers
- Debug bridge latency using real-time packet trace and log analysis
Known Limitations
- Cannot bypass Telegram API-side rate limits or revoked bot tokens. - Requires local file-system access to the bot's configuration and state directory.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/chatops-session-ops | tar xz -C ~/.claude/skills/Free skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
No special permissions declared or detected
Codex CLI, OpenCode, Claude Code
Frequently Asked Questions
Learn More About AI Agent Skills
Similar Skills
git-commit-writer
Writes conventional commit messages by analyzing your staged git changes. Detects commit type, scope, and breaking changes automatically.
env-doctor
Diagnoses why your project will not start. Checks runtime versions, dependencies, environment variables, databases, ports, and build artifacts systematically.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.
readme-generator
Generates a complete, polished README.md by scanning your actual project structure, dependencies, and code.