autobot: Skill for Claude Code

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

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

A development guide for adding a new large-language-model provider to Autobot. A provider is a service that supplies an AI model through an API.

In plain words
What is it for?
It is for implementing and registering providers, adding configuration, writing mocked API tests, and documenting setup.
Why use it?
It lays out the files, registration steps, configuration, tests, and documentation needed for a complete provider integration.

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-provider/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-provider

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/crystal-autobot/autobot/autobot-provider"><img src="https://agentmods.dev/badge/skills/crystal-autobot/autobot/autobot-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 793 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.00015 $0.00793
Opus 5 $0.00008 $0.00396
Sonnet 5 $0.00003 $0.00159
Haiku 4.5 $0.00002 $0.00079

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

Security

Grade A, and why

autobot-provider 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 12d 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-provider/SKILL.md · 126 lines

How it starts

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

Adding a New LLM Provider

Files to Create/Modify

  1. Create provider implementation:

    • src/autobot/providers/<name>_provider.cr
    • Inherit from HttpProvider or implement Provider interface
  2. Register provider:

    • Add a new ProviderSpec to the PROVIDERS list in src/autobot/providers/registry.cr.
    • Ensure keywords and API URL are correctly specified.
  3. Add configuration schema:

    • Update src/autobot/config/schema.cr with provider config if needed.
    • Most HTTP providers work automatically if they follow OpenAI compatibility.
  4. Create tests:

    • spec/autobot/providers/<name>_provider_spec.cr
    • Test provider registration in registry_spec.cr.
    • Test API integration (mocked).
  5. Add documentation:

    • docs/<name>.md - Provider setup guide.
    • Update docs/providers.md - Add to provider comparison.

Provider Implementation Template

# src/autobot/providers/<name>_provider.cr
module Autobot
  module Providers
    class <Name>Provider < HttpProvider
      def initialize(
        api_key : String,
        api_base : String? = nil,
        @model : String = "default-model",
        @extra_headers = {} of String => String,
        provider_name : String? = nil,
      )
        super(api_key, api_base)
        @gateway = Providers.find_gateway(provider_name, api_key, api_base)
      end

      def chat(
        messages : Array(Hash(String, JSON::Any)),
        tools : Array(Hash(String, JSON::Any))? = nil,
        model : String? = nil,
        max_tokens : Int32 = DEFAULT_MAX_TOKENS,
        temperature : Float64 = DEFAULT_TEMPERATURE,
      ) : Response
        # Implement API-specific logic here
        # Or call super for OpenAI-compatible APIs
        super
      end

      def default_model : String
        @model
      end
    end
  end
end

Alternative: Non-HTTP Provider

For providers with non-standard APIs (like AWS Bedrock), inherit directly from Provider:

class BedrockProvider < Provider
  # Implement abstract methods directly
  # See src/autobot/providers/bedrock_provider.cr for full example
end

Read the full file on GitHub · 126 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. 12d ago First seen · 126 lines · 15 tokens per session scan A 90e4fad5314d

Subscribe to this mod's changes

autobot-provider is a skill published in the GitHub repository crystal-autobot/autobot (45 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 793 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

agentfield

Design and ship a multi-agent system on AgentField. Use when the user asks to build, scaffold, design, or run an agent, reasoner network, multi-agent backend, or 'an agent that does X' — whenever the work would otherwise be a single LLM call or a flat LangChain/CrewAI/AutoGen chain. The skill produces composite…

Agent-Field/agentfield · 127 tokens

hephaestus-network

Use when the user types $hephaestus-network, /hep-network, or /agentlas-network, mentions @Hephaestus, or asks Agentlas to staff a durable goal from registered Local, owner Cloud, and public Hub agents or teams. The active host LLM staffs each turn; the exact roster remains goal-bound until explicit completion.

agentlas-ai/Agentlas-OS · 75 tokens

routing-card-authoring

Use whenever a build emits or repairs .agentlas/routing-card.json — the shared card contract for the single-agent builder, the team builder, and the packager. States what belongs in every field, which fields the hub can actually match on, and which fields silently break matching when a sentence leaks into them.

agentlas-ai/Agentlas-OS · 68 tokens

hephaestus-upload

Use when the user types $hephaestus-upload, /hep-upload, or /agentlas-upload, or asks to upload, publish, or list an Agentlas agent or team. Ask Cloud (private) vs Agentlas Hub (public) FIRST, then publish through the bundled Hephaestus gate.

agentlas-ai/Agentlas-OS · 67 tokens

hep-storm

Run a force-robust Stormbreaker loop — route to real agents, execute a verified pipeline to completion.

agentlas-ai/Agentlas-OS · 26 tokens

hep-network

Staff a task from registered Local, owner Cloud, and public Hub agents.

agentlas-ai/Agentlas-OS · 18 tokens