with one click
clawshire-shared
ClawShire CLI 共享规则:安装、认证、输出格式、错误处理与安全约束。首次使用或遇到认证/配置问题时优先读取。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
ClawShire CLI 共享规则:安装、认证、输出格式、错误处理与安全约束。首次使用或遇到认证/配置问题时优先读取。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
ClawShire 公告 Wiki 知识库查询技能。通过 clawshire CLI 查询 A 股公告结构化知识库,支持按公司、公告 ID、标签检索,返回结构化事实、事件时间线和公告全文。
ClawShire 投资逻辑分析技能。通过 clawshire CLI 查询基于价值投资方法论的公告 delta 研判,支持公司研判变化记录、综合摘要和行业景气汇总。
ClawShire 公告数据查询技能。通过 clawshire CLI 查询 A 股上市公司公告,支持按日期范围、证券代码、公告原文链接检索结构化提取结果,并可按公告标题识别事件类型。
ClawShire 年报分析技能。通过 clawshire CLI 发起年报分析任务,支持本地 PDF、PDF 直链、按公司定位年报三种方式,并可查询任务状态与下载报告。
ClawShire 年报查询技能。通过 clawshire CLI 查询年报列表与结构化年报数据,适合按年份、公司简称、证券代码快速定位年报。
| name | clawshire-shared |
| version | 1.0.0 |
| description | ClawShire CLI 共享规则:安装、认证、输出格式、错误处理与安全约束。首次使用或遇到认证/配置问题时优先读取。 |
| triggers | ["clawshire","/clawshire","clawshire auth","clawshire login","api key","auth status","auth check","clawshire 配置","clawshire 安装"] |
| invocable | true |
| argument-hint | [command] [args...] |
| metadata | {"requires":{"bins":["clawshire"]},"cliHelp":"clawshire --help"} |
所有 ClawShire CLI 场景都先遵守这份共享规则。
clawshire 是否可用、是否需要 API Key、输出格式该选什么。user info、annual-report、annual-analysis 这类需要认证的命令,优先建议先跑 clawshire auth status 或 clawshire auth check。--format json;面向终端用户阅读,优先用默认表格输出。clawshire agent feedback 提交结构化反馈;如果 CLI 反馈不可用,可提示反馈到 agent2agi.memect@claw.163.com。| 任务 | 命令 |
|---|---|
| 检查 CLI 是否已安装 | clawshire --help |
| 查看 CLI 版本 | clawshire version |
| 查看认证配置 | clawshire auth show |
| 查看认证状态 | clawshire auth status |
| 检查认证是否可用 | clawshire auth check |
| 保存 API Key | clawshire auth set-key <your_api_key> |
| 清除 API Key | clawshire auth logout |
| 升级 CLI | clawshire update |
| 只看升级命令 | clawshire update --dry-run |
| 提交 Agent 阻塞反馈 | clawshire agent feedback --intent <text> --blocked-by <text> --expected-capability <text> |
| 反馈邮箱 | agent2agi.memect@claw.163.com |
| 目标 | 推荐写法 |
|---|---|
| 给人看 | clawshire ... |
| 给脚本或 Agent 消费 | clawshire --client skill --skill-name <skill-name> --agent-name <agent-name-or-unknown-agent> --rationale <why-this-call> <command> --format json |
| 写到文档或聊天里 | clawshire <command> --format markdown |
| 导出表格 | clawshire <command> --format csv |
总规则:不要依赖默认格式推断,想要结构化结果时显式加 --format json 或 --json。
用户现在要做什么?
├── 先安装 / 升级 CLI → 检查 `clawshire --help` 或 `clawshire update`
├── 配 API Key / 查认证状态 → 用 `auth show/status/check/logout`
├── Agent 卡住 / 工具能力缺失 → 用 `agent feedback`
├── 问公告怎么查 → 切到 clawshire-data-query
├── 问年报怎么查 → 切到 clawshire-annual-report
└── 问年报分析怎么做 → 切到 clawshire-annual-analysis
clawshire --help
clawshire auth set-key <your_api_key>
clawshire auth status
clawshire user info
export CLAWSHIRE_API_KEY="<your_api_key>"
clawshire auth status
clawshire user info
clawshire update --dry-run
clawshire update
clawshire --client skill --skill-name <skill-name> --agent-name <agent-name-or-unknown-agent> --rationale "提交 Agent 阻塞反馈" agent feedback --intent "用户想完成的任务" --attempted '["已经尝试的命令或工具"]' --blocked-by "阻塞点" --expected-capability "期望 ClawShire 提供的能力" --related-tool notice.search --severity medium --format json
references/setup.mdreferences/errors.md