Anthropic Chat
Interact directly with Claude via Anthropic Messages API using your own API key to send and receive natural language tasks and responses.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 57 · 1 current installs · 1 all-time installs
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The name/description claim a simple Anthropic Messages API caller and the code implements that (posts to api.anthropic.com). However the registry metadata lists no required env vars or primary credential while SKILL.md and the script require ANTHROPIC_API_KEY — a manifest mismatch that should be resolved.
Instruction Scope
SKILL.md says provide ANTHROPIC_API_KEY and supply the natural-language task via sessions_spawn runtime task, but anthropic-chat.js expects a global TASK variable (TASK is undefined in the script). The script also reads ANTHROPIC_MODEL (not documented) and an alternate-typo env var ANTHROPOPIC_API_KEY. These mismatches are scope/implementation issues that can cause failures or unexpected behavior.
Install Mechanism
No install spec (instruction-only plus a small JS helper). Nothing is downloaded or written to the system by an installer.
Credentials
The only secrets accessed by the code are Anthropic-related env vars (ANTHROPIC_API_KEY, optional ANTHROPIC_MODEL). That is proportionate to the stated purpose. However the registry metadata does not declare the required env var(s), which is an inconsistency that could mislead users into installing without provisioning the key.
Persistence & Privilege
The skill does not request always:true, does not modify other skills/config, and has no install-time privileged operations.
What to consider before installing
This skill appears to be intended to call Anthropic's Messages API and will send whatever API key you provide to api.anthropic.com — that is expected. Before installing or enabling it: (1) be aware the registry metadata fails to declare ANTHROPIC_API_KEY even though SKILL.md and the code require it; (2) the JavaScript contains a bug (TASK is undefined) and a stray env-var typo (ANETHROPOPIC_API_KEY) — it may crash or not use the task you supply; (3) only supply an Anthropic API key you trust to this skill and consider using a key with limited billing/permissions or monitoring; (4) request the author to (a) update the manifest to declare ANTHROPIC_API_KEY as the primary credential, (b) fix the TASK handling to accept the runtime task safely (e.g., read from an explicit input or process.argv), and (c) document ANTHROPIC_MODEL if supported. If you cannot verify these fixes, run the skill in an isolated environment or avoid installing it.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
anthropic-chat — Anthropic Messages API 调用
功能
直接通过 Anthropic Messages API 与 Claude 对话。
环境变量
ANTHROPIC_API_KEY— Anthropic API key(必填)
调用方式
sessions_spawn+runtime=acp,在task里写自然语言描述任务- Skill 会自动使用 Messages API 发送请求并返回结果
认证
直接使用用户已有的 API key,不需要额外认证。
示例任务
- "让 anthropic-chat 用 Claude Opus 4 解释量子纠缠"
- "调用 anthropic-chat,用 Sonnet 4 写一首关于月亮的诗"
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
