client-bot-security

client-bot-security is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 64 tokens per session (2,066 once invoked), scanned C, original, MIT.

A security audit and hardening guide for Telegram bots running across several gateway servers. It covers where bots and secrets are stored, how access keys are managed, and how bot deployments move through their lifecycle.

In plain words
What is it for?
Use it to inventory client bots, map their hosting and configuration, review SSH keys and secret storage, and manage provisioning from setup through retirement.
Why use it?
It helps reveal misplaced secrets, weak SSH access, and unclear ownership before they become security incidents. It also gives the team a consistent record of which bots are running where.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it to inventory client bots, map their hosting and configuration, review SSH keys and secret storage, and manage provisioning from setup through retirement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3yed/appie-kit/client-bot-security
Install

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.

Any agent
npx skills add S3YED/appie-kit --skill client-bot-security
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for client-bot-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/s3yed/appie-kit/client-bot-security/github.svg)](https://agentmods.dev/skills/s3yed/appie-kit/client-bot-security)
Your own site
<a href="https://agentmods.dev/skills/s3yed/appie-kit/client-bot-security"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/client-bot-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for client-bot-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3yed/appie-kit/client-bot-security"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/client-bot-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.02066
Opus 5 $0.00032 $0.01033
Sonnet 5 $0.00013 $0.00413
Haiku 4.5 $0.00006 $0.00207

Measured 7d ago against content hash 54611bba3005, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

client-bot-security scanned grade C with 3 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 7d 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.

Enumerates the file system for secretsmediumData exfiltration

Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.

ssh <host> "ls -la ~/.ssh/ | grep -v authorized_keys | grep -v known_hosts"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| `~/<secrets-vault>/` (appie-1) | Medium (local machine compromise) | chmod 600, no git track |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

"cat ~/.ssh/authorized_keys | awk '{print \$3}'"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/client/client-bot-security/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Client Bot Security Audit & Hardening

When to Use

Activate this skill when:

  • User asks to "secure all client bots" or "make me the most secure CTO"
  • Auditing security posture of deployed Telegram bots
  • Inventorying which bots run where and with what secrets
  • Checking SSH key hygiene for bot-hosting fleet nodes
  • Setting up a bot provisioning pipeline
  • Reviewing or creating the bot-provisioning-ledger.json

Bot Discovery & Inventory

1. Find Bot Avatars

Bot avatars in the workspace reveal which Telegram bots exist:

ls -la ~/clawd/assets/agent-avatars/
# Pattern: <name>-<handle>.jpg
# e.g. priva-Privanotifybot.jpg → @Privanotifybot

2. Find Bot Projects

Search the workspace for bot-related projects:

ls ~/clawd/projects/ | grep -iE '(bot|telegram|notify|agent)'

3. Find Bot Configs & Secrets

Three layers of secret storage:

  • <secrets-vault>/ — central secrets vault (primary admin host only)
  • Hermes .env files — per-node (: $HERMES_HOME/.env)
  • OpenClaw config — (: $OPENCLAW_CONFIG)
# Central vault
ls -la ~/<secrets-vault>/
# → bot-provisioning-ledger.json (token_ref map)
# → bot-provisioning-pool.env (raw tokens for free pool)
# → telegram-bot.env (current bot token for this agent)
# → .env (all other API keys)

# Fleet node Hermes
ssh <user>@<tailscale_ip> "cat $HERMES_HOME/.env | grep -iE 'BOT|TOKEN'"

# Fleet node OpenClaw
ssh <user>@<tailscale_ip> "cat $OPENCLAW_CONFIG"

4. Bot Topology Map

Document per bot:

Field Example
name
handle @examplebot
token_ref TELEGRAM_BOT_TOKEN (in telegram-bot.env)
host appie-1 (this Mac Mini)
gateway Hermes
status active / assigned / free / retired

The bot-provisioning-ledger.json tracks:

{
  "name": "<bot-name>",
  "handle": "@examplebot",
  "token_ref": "APPIE_DOCTOR_BOT_TOKEN",
  "status": "assigned",
  "box": "<host>",
  "sale": null,
  "assigned_at": "2026-06-11",
  "notes": "..."
}

Read the full file on GitHub · 229 lines

Changes

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.

  1. 7d ago First seen · 229 lines · 64 tokens per session scan C 54611bba3005

Subscribe to this mod's changes

client-bot-security is a skill published in the GitHub repository S3YED/appie-kit (9 stars, last pushed 15d ago), licensed MIT. It adds 64 tokens to every session and 2,066 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 3 findings (enumerates the file system for secrets, asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

browser-edge-cases

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

aden-hive/hive · 40 tokens

aws-patterns

Lambda best practices, S3 event patterns, SQS/SNS fanout, and DynamoDB access patterns for serverless AWS architectures.

vibeeval/vibecosystem · 31 tokens

review

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use…

stevesolun/ctx · 95 tokens

agents-md-protocol

Create or review an AGENTS.md file so coding agents get stable repo-local instructions: environment setup, testing, style, security boundaries, PR policy, and handoff rules. Use when a repo lacks durable agent guidance or when a custom harness needs a predictable context file.

stevesolun/ctx · 59 tokens

impact-report-writer

Nonprofit/NGO impact report generation with data visualization suggestions, outcome metrics, narrative structure, and program data presentation. Use when writing impact reports, annual reports, or program evaluation summaries.

travisjneuman/.claude · 43 tokens

investment-memo-generator

Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.

travisjneuman/.claude · 37 tokens