pyrus-script-bots

pyrus-script-bots is a skill for Claude Code, Codex from sparko161-droid/pyrus_mcp_bd_complect. It costs 41 tokens per session (2,166 once invoked), scanned A, original, Apache-2.0.

A development guide for Pyrus TypeScript server script bots, which are programs that run on Pyrus's servers to automate work in that service.

In plain words
What is it for?
Creating, changing, testing, and debugging Pyrus bots that copy or route tasks, monitor responsibility, update fields and rows, handle files, query catalogues, or call APIs.
Why use it?
It collects the required preparation, coding rules, API details, safety limits, and checks needed to maintain these bots correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Creating, changing, testing, and debugging Pyrus bots that copy or route tasks…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparko161-droid/pyrus_mcp_bd_complect/pyrus-script-bots
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 sparko161-droid/pyrus_mcp_bd_complect --skill pyrus-script-bots
Clone the repo
git clone --depth 1 https://github.com/sparko161-droid/pyrus_mcp_bd_complect

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 pyrus-script-bots

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparko161-droid/pyrus_mcp_bd_complect/pyrus-script-bots.svg)](https://agentmods.dev/skills/sparko161-droid/pyrus_mcp_bd_complect/pyrus-script-bots)
Your own site
<a href="https://agentmods.dev/skills/sparko161-droid/pyrus_mcp_bd_complect/pyrus-script-bots"><img src="https://agentmods.dev/badge/skills/sparko161-droid/pyrus_mcp_bd_complect/pyrus-script-bots.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00041 $0.02166
Opus 5 $0.00020 $0.01083
Sonnet 5 $0.00008 $0.00433
Haiku 4.5 $0.00004 $0.00217

Measured 6d ago against content hash de789fac9588, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pyrus-script-bots scanned grade A with 0 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pyrusBot/.agents/skills/pyrus-script-bots/SKILL.md · 136 lines

How it starts

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

Skill: Pyrus TypeScript Server Script Bot Developer

This skill provides step-by-step guidance, code structures, API reference, safety constraints, and checklists for building and maintaining Pyrus Server Script bots in TypeScript.

When to Use This Skill

Use this skill whenever you need to:

  1. Create a new Pyrus server script bot or adapt an existing template.
  2. Modify or debug existing Pyrus bots (CopyBot, RouterBot, ResponsibilityMonitoringBot, DialogBot).
  3. Add custom business logic, field updates, table row management, file attachments, catalog lookups, or multi-choice updates.
  4. Integrate Pyrus tasks with external REST APIs or internal workflows.
  5. Review bot configuration, permissions, error logs, or performance limits.

1. Core Execution Model & Technical Constraints

  • Prerequisite Gate: NEVER start writing bot code until ТЗ, Catalogs, JSON Form Upload, and Form Verification via pyrus:dump are 100% completed.
  • Language & Engine: TypeScript executed in Node.js on Pyrus servers.
  • SDK: Pre-installed pyrus-api (BotHookRequest, BotHookResponse, PyrusApiClient).
  • Entry Point: export default async function(request: BotHookRequest): Promise<BotHookResponse>
  • Stateless Environment: No file system persistence, no global state between webhooks. State MUST be stored in task fields (e.g. JSON in technical text fields).
  • Execution Limits:
    • Time limit: 60 seconds (Paid), 1 second (Free).
    • Memory: 256 MB RAM.
    • Rate limit: 10 executions / 10 seconds per bot.
    • External npm packages: NOT ALLOWED. Only Node stdlib and pyrus-api.
  • Async Execution Rule: CRITICAL. Execution stops IMMEDIATELY when the handler returns a value or resolves a Promise. All unawaited promises (doSomethingAsync() without await) will be killed. Always await all async calls.
  • Single file: A deployed bot is ONE file pasted into the Pyrus editor. It MUST NOT import from src/lib/ — the function bank is a source you copy blocks OUT of, not a package you link against. An import { FormModel } from "../../src/lib/..." typechecks locally and then fails on deploy. Duplication between a deployed bot and the bank is expected and correct; the anti-duplication rule applies to the bank itself.
  • Code Articles in KB: Always run npm run mirror:scripts after writing/updating bot code so that <script>.ts.md code articles are generated and synced to Pyrus KB under "Forms and scripts".

Read the full file on GitHub · 136 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. 6d ago First seen · 136 lines · 41 tokens per session scan A de789fac9588

Subscribe to this mod's changes

pyrus-script-bots is a skill published in the GitHub repository sparko161-droid/pyrus_mcp_bd_complect (0 stars, last pushed 16d ago), licensed Apache-2.0. It adds 41 tokens to every session and 2,166 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

trpc-router

Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.

trpc/trpc · 59 tokens

stripe-projects

Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.

e2b-dev/E2B · 51 tokens

chat-sdk

Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…

vercel-labs/open-agents · 191 tokens

nestjs-expert

Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating…

Jeffallan/claude-skills · 107 tokens

fastify-best-practices

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication…

mcollina/skills · 137 tokens