autobot: Skill for Claude Code

.claude/skills/autobot-tool/SKILL.md

autobot-tool is a skill for Claude Code from crystal-autobot/autobot. It costs 16 tokens per session (636 once invoked), scanned A, original, MIT.

Development instructions for adding a new tool to the Autobot agent, including its implementation, registration, settings, JSON input schema, and tests.

In plain words
What is it for?
Use them when creating or registering an Autobot tool, adding configuration, defining its parameters, and writing Crystal tests.
Why use it?
They give contributors the project-specific places and conventions needed to make a tool available and safe. They also require testing normal behavior, errors, and safety protections.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is crystal-autobot/autobot's own configuration. It tells Claude Code how to work on autobot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything autobot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to crystal-autobot/autobot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/crystal-autobot/autobot/main/.claude/skills/autobot-tool/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/crystal-autobot/autobot

Made for: Claude Code.

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 autobot-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/crystal-autobot/autobot/autobot-tool/github.svg)](https://agentmods.dev/skills/crystal-autobot/autobot/autobot-tool)
Your own site
<a href="https://agentmods.dev/skills/crystal-autobot/autobot/autobot-tool"><img src="https://agentmods.dev/badge/skills/crystal-autobot/autobot/autobot-tool/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 autobot-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/crystal-autobot/autobot/autobot-tool"><img src="https://agentmods.dev/badge/skills/crystal-autobot/autobot/autobot-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 636 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00016 $0.00636
Opus 5 $0.00008 $0.00318
Sonnet 5 $0.00003 $0.00127
Haiku 4.5 $0.00002 $0.00064

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

Security

Grade A, and why

autobot-tool 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 11d 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.

.claude/skills/autobot-tool/SKILL.md · 112 lines

How it starts

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

Creating a New Tool

Files to Create/Modify

  1. Create tool implementation:

    • src/autobot/tools/<name>_tool.cr
    • Inherit from Tool base class
    • Implement Tool interface
  2. Register tool:

    • Tools are registered in src/autobot/tools/registry.cr or src/autobot/cli/gateway.cr.
    • Add new tool instance to the registry.
  3. Add configuration (if configurable):

    • Update src/autobot/config/schema.cr
    • Add tool-specific settings
  4. Create tests:

    • spec/autobot/tools/<name>_tool_spec.cr
    • Test all tool functionality
    • Test error handling
    • Test safety guards

Tool Implementation Template

# src/autobot/tools/<name>_tool.cr
require "./tool"

module Autobot
  module Tools
    class <Name>Tool < Tool
      # Tool metadata
      def name : String
        "<tool_name>"
      end

      def description : String
        "Description of what this tool does (1-2 sentences)"
      end

      # Define JSON schema for parameters
      def parameters : ToolSchema
        ToolSchema.new(
          properties: {
            "param1" => PropertySchema.new(
              type: "string",
              description: "Description of param1"
            ),
            "param2" => PropertySchema.new(
              type: "integer",
              description: "Description of param2",
              minimum: 1_i64,
              maximum: 100_i64
            ),
          },
          required: ["param1"]
        )
      end

      # Execute the tool
      def execute(params : Hash(String, JSON::Any)) : ToolResult
        # Extract parameters
        param1 = params["param1"].as_s
        param2 = params["param2"]?.try(&.as_i) || 0

        # Execute tool logic
        begin
          result = perform_action(param1, param2)
          ToolResult.success(result)
        rescue ex
          ToolResult.error("Tool execution failed: #{ex.message}")
        end
      end

      private def perform_action(param1, param2)
        # Implement tool logic
        "result"
      end
    end
  end
end

Read the full file on GitHub · 112 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. 11d ago First seen · 112 lines · 16 tokens per session scan A d5d648e7264e

Subscribe to this mod's changes

autobot-tool is a skill published in the GitHub repository crystal-autobot/autobot (45 stars, last pushed 3d ago), licensed MIT. It adds 16 tokens to every session and 636 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

python-development

Coding standards, conventions, and patterns for developing Python code in the Agent Framework repository. Use this when writing or modifying Python source files in the python/ directory.

microsoft/agent-framework · 35 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens