agentsclimarketplace

Company analyzer

Skill aAAaqwq/AGI-Super-Team/skills/company-analyzer

14 AI executives powered by legendary minds (Musk/Buffett/Simons/Feynman) — deploy your virtual C-Suite in one git clone.From the repository description

Install
npx -y skills add aAAaqwq/AGI-Super-Team --skill company-analyzer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.1 KB, 752 tokens by cl100k_base, as published. Nobody here has run it

company-analyzer

企业深度分析引擎——多框架 LLM 分析,带缓存、成本追踪、速率限制

使用场景

  • 对上市公司进行全面分析(基本面、技术面、竞争格局等)
  • 多分析框架并行执行(如 SWOT、估值模型、行业分析等)
  • 预算控制下的批量公司分析
  • 作为 CRO(研究官)的核心分析工具

使用方法

# 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 Clientscripts/lib/api-client.sh配置驱动的 LLM 客户端,自动读 OpenClaw 配置
Cachescripts/lib/cache.shSHA256 键 + 7 天 TTL 持久化缓存
Cost Trackerscripts/lib/cost-tracker.sh动态价格查找 + 日预算检查
Tracescripts/lib/trace.sh日志追踪
Pricesscripts/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 — 日志工具

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.