Best use case
company-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
> 企业深度分析引擎——多框架 LLM 分析,带缓存、成本追踪、速率限制
Teams using company-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/company-analyzer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How company-analyzer Compares
| Feature / Agent | company-analyzer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
> 企业深度分析引擎——多框架 LLM 分析,带缓存、成本追踪、速率限制
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# company-analyzer
> 企业深度分析引擎——多框架 LLM 分析,带缓存、成本追踪、速率限制
## 使用场景
- 对上市公司进行全面分析(基本面、技术面、竞争格局等)
- 多分析框架并行执行(如 SWOT、估值模型、行业分析等)
- 预算控制下的批量公司分析
- 作为 CRO(研究官)的核心分析工具
## 使用方法
```bash
# Shell 库引用方式(在分析脚本中 source)
source ~/clawd/skills/company-analyzer/scripts/lib/api-client.sh
source ~/clawd/skills/company-analyzer/scripts/lib/cache.sh
source ~/clawd/skills/company-analyzer/scripts/lib/cost-tracker.sh
# 调用 LLM 分析
result=$(call_llm_api "分析 AAPL 的竞争优势" 8192)
content=$(extract_content "$result")
prompt_tokens output_tokens=$(extract_usage "$result" "$original_prompt")
# 缓存管理
key=$(cache_key "AAPL" "01-swot" "$prompt")
cached=$(cache_get "$key") # 返回缓存或空
cache_set "$key" "$response" '{"framework":"swot"}'
# 成本追踪
log_cost "AAPL" "swot" 1500 3000 # 记录 API 调用成本
check_budget # 检查是否超预算(默认 $0.10/天)
```
## 核心模块
| 模块 | 文件 | 说明 |
|------|------|------|
| API Client | `scripts/lib/api-client.sh` | 配置驱动的 LLM 客户端,自动读 OpenClaw 配置 |
| Cache | `scripts/lib/cache.sh` | SHA256 键 + 7 天 TTL 持久化缓存 |
| Cost Tracker | `scripts/lib/cost-tracker.sh` | 动态价格查找 + 日预算检查 |
| Trace | `scripts/lib/trace.sh` | 日志追踪 |
| Prices | `scripts/lib/prices.json` | 各模型 token 单价表 |
## 配置要求
- Bash 4+, jq, bc, curl
- OpenClaw 配置:`~/.openclaw/openclaw.json`(模型/提供商/密钥)
- 认证配置:`~/.openclaw/agents/main/agent/auth-profiles.json`
- 默认日预算:$0.10(可修改 `DAILY_BUDGET` 变量)
## 相关文件
- `scripts/lib/api-client.sh` — LLM API 客户端(速率限制、重试、降级)
- `scripts/lib/cache.sh` — 生产级持久化缓存
- `scripts/lib/cost-tracker.sh` — 动态成本追踪
- `scripts/lib/prices.json` — 模型价格表
- `scripts/lib/trace.sh` — 日志工具Related Skills
video-content-analyzer
下载视频并用AI分析内容 - 支持B站/抖音/YouTube等平台,提取语音内容并分析视频结构
meeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
influencer-analyzer
分析抖音/小红书/B站博主的主页、内容风格、爆款规律。可根据链接、博主名、主题三种方式触发。输出结构化的博主画像和内容风格报告,为内容创作者提供可复制的对标参考。触发词:分析博主、分析网红、对标博主、博主风格、起号分析、博主推荐。
ecommerce-competitor-analyzer
Multi-platform e-commerce competitor analysis skill that automatically scrapes product data from Amazon, Temu, Shopee and generates comprehensive analysis reports using AI. Use when you need to analyze competitor products, extract product insights, or batch analyze multiple product listings. Supports bulk processing with structured outputs including title, price, rating, reviews, and strategic analysis.
company-wiki
Company knowledge base — domains, services, infrastructure, accounts, credentials locations, architecture decisions
commit-analyzer
Analyze git commit frequency, categories, and timing patterns to diagnose autonomous agent activity and operational health.
wemp-operator
> 微信公众号全功能运营——草稿/发布/评论/用户/素材/群发/统计/菜单/二维码 API 封装
zsxq-smart-publish
Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.
zoom-automation
Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.
zoho-crm-automation
Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.
ziliu-publisher
字流(Ziliu) - AI驱动的多平台内容分发工具。用于一次创作、智能适配排版、一键分发到16+平台(公众号/知乎/小红书/B站/抖音/微博/X等)。当用户需要多平台发布、内容排版、格式适配时使用。触发词:字流、ziliu、多平台发布、一键分发、内容分发、排版发布。
zhihu-post-skill
> 知乎文章发布——知乎平台内容创作与发布自动化