🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/anthropic

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/anthropic

Anthropic Claude integration — messages API with vision, tool use, and system prompts. Uses the encrypted credential vault for API keys.

latest
npmnpm
Version
0.3.0
Version published
Weekly downloads
57
-46.23%
Maintainers
4
Weekly downloads
 
Created
Source

@robinpath/anthropic

Anthropic module for RobinPath.

Category Functions Auth License

Why use this module?

The anthropic module lets you:

  • createMessage
  • chat
  • summarize
  • translate
  • extract

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

robinpath add @robinpath/anthropic

Quick Start

1. Set up credentials

anthropic.setCredentials "your-credentials"

2. createMessage

anthropic.createMessage

Available Functions

FunctionDescription
anthropic.setCredentialsConfigure anthropic credentials.
anthropic.createMessagecreateMessage
anthropic.chatchat
anthropic.summarizesummarize
anthropic.translatetranslate
anthropic.extractextract
anthropic.classifyclassify
anthropic.analyzeImageanalyzeImage
anthropic.countTokenscountTokens
anthropic.listModelslistModels
anthropic.createBatchcreateBatch
anthropic.getBatchgetBatch
anthropic.listBatcheslistBatches
anthropic.cancelBatchcancelBatch
anthropic.getBatchResultsgetBatchResults
anthropic.completecomplete
anthropic.generateCodegenerateCode

Examples

createMessage

anthropic.createMessage

chat

anthropic.chat

summarize

anthropic.summarize

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/anthropic";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  anthropic.setCredentials "your-credentials"
  anthropic.createMessage
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

License

MIT

Keywords

anthropic

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts