cosin
Use this skill when an agent needs to operate the `cosin` CLI from the terminal. `cosin` accepts only relative paths, lists available skills through the `skills` subcommand, can call COS API paths directly, and can call `/cos/...` skills by turning them into x402 pay-and-call requests to the COS backend. This skill is for using the CLI, not for editing the cosin source code.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/0xcipher0/cosinWhat This Skill Does
The cosin skill acts as an interface for the COS CLI, allowing OpenClaw agents to interact directly with the COS API and invoke remote skills. It abstracts the complexity of building x402 pay-and-call requests for /cos/... paths. Whether you need to retrieve account information, execute orders via the API, or fetch data from decentralized endpoints like Chainlink, cosin provides a standardized, command-line-driven bridge to the Bank of Universe ecosystem.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/0xcipher0/cosin
Once installed, ensure your COS bearer token is ready for use, as the skill requires this credential for all authenticated requests. Note that the skill should not be modified, as it is designed to interface with the pre-compiled cosin CLI binary.
Use Cases
- Token Price Monitoring: Quickly fetch real-time pricing for assets like BTC, ETH, SOL, or HYPE using the
/cos/crypto/price/:symbolendpoint. - Decentralized Randomness: Access verified random values for simulations or cryptographic operations via
/cos/crypto/chainlink/random. - Direct API Management: Perform standard CRUD operations against the COS backend, such as retrieving profile data (
/v1/me) or managing orders (/v1/orders). - Skill Discovery: Easily explore the available ecosystem by listing supported remote skills with the
skillscommand.
Example Prompts
- "Check the current price of Ethereum using the cosin CLI. I have my bearer token set as an environment variable."
- "Use cosin to get a random number from the Chainlink service. Here is my API key: [TOKEN_PLACEHOLDER]."
- "List all available skills through cosin so I can see what is currently supported in the bank of universe."
Tips & Limitations
- Security First: Always handle the
--keyparameter with caution. Never hardcode tokens in script files or push them to version control. Pass them at runtime only. - Relative Paths Only: The CLI now enforces relative pathing. Avoid using full URLs; start your request paths with
/. - Credential Handling: The skill does not store your token. If you find yourself repeatedly typing it, consider using environment variable expansion in your shell sessions.
- Subcommand Constraints: Remember that
skillsandagentsubcommands do not support--jsonbodies or custom headers. Only direct API and/cos/...calls support these advanced configurations.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-0xcipher0-cosin": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api