Skip to main content

Anthropic

@keeb/anthropicv2026.10.15.1· 11d agoBEHAVIORSSKILLSACCEPTED WARNINGS
01README

Generate text with Anthropic Claude from swamp workflows, via the Messages API or the local claude CLI login.

02Behaviors1
@keeb/anthropic/claudev2026.10.15.1claude.ts

Global Arguments

ArgumentTypeDescription
apiKey?stringAnthropic API key; required by generate, unused by the cli_* methods
model?stringModel ID to use
systemPrompt?stringSystem prompt for the conversation
maxTokens?numberMaximum tokens in response, a positive integer (generate only)
fn generate(prompt: string)
Generate text with Claude via the Messages API
ArgumentTypeDescription
promptstringThe user message to send to Claude
fn cli_generate(prompt: string, jsonSchema?: record, timeoutSeconds?: number)
Generate text with the local claude CLI (headless, no tools) instead of the Messages API.
ArgumentTypeDescription
promptstringThe user message to send to Claude
jsonSchema?recordJSON Schema the answer must satisfy; the parsed answer lands in `structured`
timeoutSeconds?numberSeconds before the CLI call is aborted
fn cli_generate_many(batch: string, requests: array, systemPrompt?: string, concurrency?: number, timeoutSeconds?: number)
Fan a batch of prompts out to the local claude CLI with bounded concurrency; one cliResult per request.
ArgumentTypeDescription
batchstringBatch id; namespaces the result instances
requestsarrayPrompts to run
systemPrompt?stringShared system prompt for requests that do not carry their own
concurrency?numberMaximum CLI processes at once
timeoutSeconds?numberSeconds before each CLI call is aborted

Resources

result(infinite)— Claude response
cliResult(30d)— One answer from the claude CLI, keyed by batch and request key
03Skills1
anthropic1 file
04Previous Versions8
2026.07.18.1
2026.04.22.3
2026.04.22.2
2026.04.22.1

Added 1 skills

2026.04.06.2
2026.04.06.1
2026.03.13.2
2026.03.13.1
05Stats
A
93 / 100
Downloads
364
Archive size
10.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned

07Platforms
08Labels