Auto-Updater Skill
一个面向 Other 场景的 Agent 技能。原始说明:Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
name: anyone-proxy
homepage: https://anyone.io
description: This skill enables IP address masking and accessing hidden services on the Anyone Network. Route requests through the Anyone Protocol VPN network using a local SOCKS5 proxy.
metadata:
clawdbot:
requires:
packages:
This skill enables Clawdbot to route requests through the Anyone Protocol network.
The skill uses the @anyone-protocol/anyone-client NPM package to:
npm install -g @anyone-protocol/anyone-client
npx @anyone-protocol/anyone-client -s 9050
Once the proxy is running, route requests through it:
# Using curl to verify IP
curl --socks5-hostname localhost:9050 https://check.en.anyone.tech/api/ip
import { Anon } from "@anyone-protocol/anyone-client";
import { AnonSocksClient } from "@anyone-protocol/anyone-client";
async function main() {
const anon = new Anon();
const anonSocksClient = new AnonSocksClient(anon);
try {
await anon.start();
// Wait for circuits to establish
await new Promise(resolve => setTimeout(resolve, 15000));
const response = await anonSocksClient.get('https://check.en.anyone.tech/api/ip');
console.log('Response:', response.data);
} catch(error) {
console.error('Error:', error);
} finally {
await anon.stop();
}
}
main();