← 返回 Skills 市场
The Trench
作者
BAGWATCHER
· GitHub ↗
· v0.1.0
1506
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install the-trench
功能描述
Call The Trench Solana program on devnet using the public IDL and TS types.
安全使用建议
This skill looks like a thin wrapper for calling a public devnet Solana program, but the package is incomplete: it references idl.json and TypeScript types that are not included and uses AnchorProvider.env() without declaring how a wallet/keypair will be provided. Before installing or using it: (1) Inspect the referenced homepage repository to confirm the IDL/types are public and unchanged, or provide those files yourself; (2) Do not paste private key material or seed phrases into the agent/chat — instead use a controlled wallet file or signer and confirm which env var/path the skill expects; (3) Ask the skill author to explicitly declare required environment variables and to bundle or fetch the IDL from a known URL (GitHub release) rather than relying on relative paths; (4) If the agent will be allowed to access your filesystem, be cautious: the SKILL.md's relative paths could cause it to read files outside the skill. These mismatches are not definitive evidence of malice, but they are enough reason to pause and require clarification or fixes before trusting the skill with keys or local files.
功能分析
Type: OpenClaw Skill
Name: the-trench
Version: 0.1.0
The skill bundle is benign. It provides instructions and example TypeScript code for interacting with a Solana program on devnet. File access instructions (`{baseDir}/../idl.json`, `{baseDir}/../the_trench.ts`) and environment variable usage (`AnchorProvider.env()`) are standard for Solana development and are contextual to the stated purpose. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts to subvert the agent's behavior beyond its stated function. The network endpoint `https://api.devnet.solana.com` is a public devnet RPC.
能力评估
Purpose & Capability
The skill says it will use a public IDL and TypeScript types to call a Solana program on devnet, which is coherent. However, the bundle contains only SKILL.md and does not include the referenced idl.json or the_trench.ts. The SKILL.md also uses relative paths ({baseDir}/../idl.json) that point outside the skill package, implying the agent must access files not provided.
Instruction Scope
Instructions call AnchorProvider.env() which implicitly requires a wallet/keypair or ANCHOR_WALLET-like environment config to sign transactions, but no env variables are declared or documented. The instructions reference reading local files by relative path, which could require the agent to load files outside the skill; the SKILL.md gives the agent no explicit, safe method for obtaining the IDL/TS files (no fetch/install steps).
Install Mechanism
There is no install spec and no code files included, so nothing is written to disk by the skill itself. That reduces installation risk, but it increases reliance on external files or user-supplied secrets.
Credentials
The skill declares no required environment variables, yet the example uses AnchorProvider.env(), which typically relies on a wallet file or env var (e.g., ANCHOR_WALLET or a keypair path). This is a mismatch: the skill may require private signing keys at runtime but doesn't declare them, which could lead to ad-hoc requests for sensitive secrets or local file reads.
Persistence & Privilege
The skill does not request elevated persistence (always is false) and is user-invocable. There is no evidence it attempts to modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install the-trench - 安装完成后,直接呼叫该 Skill 的名称或使用
/the-trench触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of The Trench skill.
- Allows construction of Anchor clients for The Trench Solana program on devnet.
- Provides public access to the program's IDL and TypeScript types.
- Contains usage instructions and example code for integration.
- No private trading logic or sensitive information included.
元数据
常见问题
The Trench 是什么?
Call The Trench Solana program on devnet using the public IDL and TS types. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1506 次。
如何安装 The Trench?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install the-trench」即可一键安装,无需额外配置。
The Trench 是免费的吗?
是的,The Trench 完全免费(开源免费),可自由下载、安装和使用。
The Trench 支持哪些平台?
The Trench 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 The Trench?
由 BAGWATCHER(@bagwatcher)开发并维护,当前版本 v0.1.0。
推荐 Skills