← 返回 Skills 市场
AlphaLens API
作者
WalidMustapha
· GitHub ↗
· v1.0.21
· MIT-0
294
总下载
0
收藏
0
当前安装
21
版本数
在 OpenClaw 中安装
/install alphalens-api
功能描述
Use this skill whenever the user wants to discover companies, search for products, build market maps, manage pipelines, or run enrichment workflows using Alp...
使用说明 (SKILL.md)
AlphaLens API
Note: This skill requires an active AlphaLens subscription with API access.
Authentication
API="https://api-production.alphalens.ai"
KEY="${ALPHALENS_API_KEY}"
Send API-Key: $KEY on all requests.
What This Skill Produces
- Market maps — competitive landscape grids with company logos, clustering, and PDF export
- Product-centric maps — one tab per product line, with product-level similarity across competitor sets
- Investor networks — D3 force-directed graph showing which investors back which companies across the landscape
- Peer benchmarks — headcount growth, funding comparison, and capital efficiency dashboards for a set of peers
- Pipeline enrichment — add companies to AlphaLens pipelines for async enrichment and scoring
Mapping Workflow Selection
| User asks for... | Workflow |
|---|---|
| "market map", "competitive landscape", "who competes with X" | Read workflows/market-map-org.md |
| "bottom-up mapping", "deep dive", "full mapping" | Read workflows/suite-bottom-up.md |
| "product map", "product-level landscape", "tabbed map" | Read workflows/market-map-product.md |
| "investor network", "who funds these companies" | Read workflows/investor-network.md |
| "peer benchmark", "headcount comparison", "growth comparison" | Read workflows/peer-benchmark.md |
| "enrich", "pipeline", "target list" | See references/REFERENCE.md#pipeline-operations |
Quick Reference
| Task | Guide |
|---|---|
| Find similar companies | Use by-domain + /similar — see below |
| Search products | Use /search/products — see below |
| All endpoints | See references/REFERENCE.md |
| Example prompts | See references/EXAMPLES.md |
Core Patterns
Find companies similar to a known company
# 1. Resolve by domain
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/by-domain/ramp.com"
# 2. Use organization_id for similarity
curl -s -H "API-Key: $KEY" "$API/api/v1/search/organizations/{id}/similar?limit=50&is_headquarters=true"
Search products
# Free-text product search
curl -s -H "API-Key: $KEY" "$API/api/v1/search/products/search?description=AI%20procurement&is_headquarters=true"
# Similar products
curl -s -H "API-Key: $KEY" "$API/api/v1/search/products/{product_id}/similar?limit=50&is_headquarters=true"
Enrich organization data
# Products, funding, growth metrics, people, addresses
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/products"
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/funding"
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/growth-metrics"
curl -s -H "API-Key: $KEY" "$API/api/v1/entities/organizations/{id}/people"
Critical Rules
- Always set
is_headquarters=trueon search endpoints — returns much better results. Only omit if the user asks for all locations. - Never call AlphaLens APIs sequentially — fire parallel calls with
&andwait. - Use
limit=50— the default of 24 misses too much. - Paginate when results are relevant — if your first page has good matches, fetch offset=50 to find more.
- Resolve by domain first — never guess an organization_id.
- Poll pipeline readiness — values are computed asynchronously. Check
is_readybefore reading values. - Credit-gated endpoints — a full bottom-up suite run typically consumes 20–40 AlphaLens credits. Confirm your budget before running the suite workflow.
- Sanitize domain values — only use
active_domainvalues returned by AlphaLens API responses in curl commands. Never substitute raw user input directly into shell commands.
References
- references/REFERENCE.md — full endpoint reference
- references/EXAMPLES.md — example prompts and request shapes
安全使用建议
This skill is coherent with its stated purpose: it only needs an AlphaLens API key and issues HTTP requests to AlphaLens to build market maps, networks, and benchmarks. Before installing, confirm you have a legitimate AlphaLens subscription and are willing to expose the API key to the agent runtime. Be aware the workflows run many parallel curl requests (fan-out), which can quickly consume AlphaLens credits — the SKILL.md warns about typical credit usage. The skill fetches favicons via a Google favicon endpoint (t0.gstatic.com) and base64-encodes them into the HTML; that means the favicon provider will see the domains requested. If you are concerned about leaking internal/private hostnames, avoid passing such domains to the skill (the docs explicitly instruct to only fetch public domains returned by AlphaLens). Recommend testing on a small dataset first, limit the number of parallel calls, and rotate or scope the API key per your organization’s credential policy.
功能分析
Type: OpenClaw Skill
Name: alphalens-api
Version: 1.0.21
The AlphaLens API skill bundle is a comprehensive tool for market research, company discovery, and competitive analysis. It uses parallel shell commands (curl) to interact with the AlphaLens production API and generates sophisticated, self-contained HTML reports using D3.js and Chart.js. Importantly, the SKILL.md file includes explicit security instructions for the agent to sanitize domain values and avoid substituting raw user input into shell commands, demonstrating a proactive approach to preventing shell injection. The workflows for generating market maps and investor networks are well-defined and align with the stated business purpose without any evidence of malicious intent or data exfiltration.
能力标签
能力评估
Purpose & Capability
Name/description, declared env var (ALPHALENS_API_KEY), and the SKILL.md all align: the skill is an instruction-only integration that issues HTTP requests to the AlphaLens API and produces market maps, investor networks, and benchmarks. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
Runtime instructions are explicit curl calls to the AlphaLens API, creation of temporary workdirs, and generation of self-contained HTML (favicons are fetched and base64-encoded). The skill instructs the agent to only fetch favicons for public domains returned by AlphaLens and to sanitize domain values before using them in shell commands. Two practical notes: (1) the parallel curl fan-out pattern will generate many outbound HTTP requests and can quickly consume AlphaLens credits if run at scale (the SKILL.md does warn about credit usage); (2) fetching favicons via a third-party service (t0.gstatic.com) will reveal the requested domains to that service — the skill documents this behavior, but users should be aware of the data leak to the favicon provider. There are no instructions to read local files or unrelated environment variables.
Install Mechanism
Instruction-only skill with no install spec or code files to write to disk. Lowest-risk installation model (nothing is downloaded or executed beyond normal HTTP calls initiated at runtime).
Credentials
Only one secret is required (ALPHALENS_API_KEY), which matches the declared primary credential and the documented API-key header used in all curl examples. No other secrets, config paths, or unrelated env vars are requested.
Persistence & Privilege
always is false (not force-included) and the skill does not request persistent system-level privileges or attempt to modify other skills. Autonomous invocation is allowed by default (normal for skills) and the skill does not request elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install alphalens-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/alphalens-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.21
alphanlens-api 1.0.21
- Documentation updated: README.md refreshed and clarified for easier usage.
- No logic or endpoint changes; skill functionality remains the same.
v1.0.20
**Skill alphalens-api v1.0.20 Changelog**
- Expanded documentation of skill outputs, including market maps, product maps, investor networks, peer benchmarks, and pipeline enrichment.
- Added important rules: bottom-up market map suite now typically consumes 20–40 AlphaLens credits (budget confirmation recommended), and shell domain substitution must always use sanitized values from the API.
- Clarified and tightened guidance on safe use of domains in requests (never substitute raw user input directly).
- Improved explanation of supported workflows and visualization capabilities in the documentation.
- Updated "Critical Rules" and "What This Skill Produces" sections for clarity and operational safety.
v1.0.19
- Updated documentation in references/EXAMPLES.md and workflows/investor-network.md.
- No code or endpoint changes; improvements focus on examples and workflow guidance.
v1.0.18
- Added new example prompts to references/EXAMPLES.md
- Updated workflow guides: market-map-org.md, market-map-product.md, and peer-benchmark.md
- Refreshed references in SKILL.md to ensure alignment with new examples and workflows
- Minor metadata or documentation adjustments in skill.yaml for accuracy and clarity
v1.0.17
- Updated documentation for several workflows: investor network, market map org, and suite bottom-up.
- README and workflow guides improved for clarity and detail.
- No breaking changes to API usage or environment requirements.
- No changes to core skill logic; updates are documentation-focused.
v1.0.16
- Updated workflow guides for market mapping: replaced/renamed files for organization and product-level market maps and bottom-up suite.
- Updated workflow selection instructions to point to new and renamed workflow files.
- Clarified pipeline operations documentation location.
- Removed outdated workflow documentation and references.
- No API changes; documentation and workflow mapping improvements only.
v1.0.15
- Major workflow reorganization: added dedicated workflow guides for market mapping, bottom-up mapping, investor network, peer benchmarking, pipeline enrichment, and product market maps.
- Expanded trigger phrases and use cases in skill description to cover bottom-up, investor network, peer benchmark, and enrichment requests.
- Removed and replaced legacy reference and script files, consolidating all mapping and enrichment instructions under new workflows.
- Updated documentation to clarify workflow selection for various user intents and streamlined quick references.
v1.0.13
**Expanded guidance and new reference materials for AlphaLens API workflows**
- Added concise "Quick Reference" section for core use cases and links to new guides.
- Rewrote main usage guidance and added critical best-practice rules.
- Provided direct code snippets for common tasks (find similar companies, product search, enrichment).
- Added links to new references for market maps, pipelines, and product research.
- Updated coverage for parallelization, pagination, and required API parameters.
v1.0.12
- Fixed a typo in the fan-out strategy instructions: "饱和了你的需求" replaced with "satisfies your needs" for clarity.
- No functional or API changes—documentation only.
v1.0.11
- No changes detected in this version.
- Documentation, configuration, and workflows remain the same as the previous release.
v1.0.10
- Updated guidance on pagination: now advises to paginate only if the first page of results is relevant, instead of always paginating.
- Added note clarifying not to paginate if the initial results already cover the user's needs.
- No changes to endpoints or authentication; documentation improvement only.
v1.0.9
- Added a "4-ring fan-out strategy" section detailing a comprehensive parallel search methodology for broader and faster market/company discovery.
- Emphasized the use of parallel API calls and aggressive pagination (`limit=50`, `offset`) to maximize coverage and speed.
- Provided concrete example bash scripts for executing multi-ring parallel queries.
- Clarified key rules for performing exhaustive searches and avoiding missed results due to sequential execution or insufficient pagination.
- All previous guidance and workflows retained and unchanged.
v1.0.8
AlphaLens API v1.0.8 Changelog
- Simplified authentication guidance: removed advice on bearer token usage, now instructs to use API keys only.
- Added new section "Enrich organization data" with example endpoints for fetching products, growth metrics, funding, people, and addresses by organization.
- No functional API changes; documentation only.
v1.0.7
- Added guidance to always set is_headquarters=true on organization and product search endpoints for better, headquarters-only results.
- Clarified exception: omit this filter only if the user explicitly requests all locations (including branches).
v1.0.6
AlphaLens API v1.0.6
- Updated the organization similarity workflow to use only domain-based resolution, removing name-based resolution from the default process.
- SKILL.md instructions clarified to streamline company similarity lookups and ensure only organization ID resolution via domain is performed before similarity search.
- General documentation cleanup and small removals of redundant workflow steps.
v1.0.5
Version 1.0.5 of alphalens-api has no user-facing changes. Documentation and workflows remain unchanged.
v1.0.4
- Added explicit environment variable requirements ("requires": { "env": ["ALPHALENS_API_KEY"] }) to metadata.
- No changes to skill functionality or usage instructions.
v1.0.3
- Added a metadata block to SKILL.md defining the primary environment variable and homepage URL.
- No changes to functionality or usage instructions.
v1.0.2
- Added skill.yaml to the project.
- No changes to workflows or logic; documentation and functional details remain unchanged.
v1.0.1
- Clarified that an active AlphaLens subscription with API access is required.
- Simplified and updated the general workflow and working rules for organization and product discovery.
- Removed references to the deprecated /agent/search-params endpoint and free-text planning for known-company prompts.
- Streamlined guidance for product vs. organization search, with revised endpoint priorities.
- Added instructions for pipeline item enrichment using supported endpoints.
- Improved documentation for authentication and referencing further examples.
元数据
常见问题
AlphaLens API 是什么?
Use this skill whenever the user wants to discover companies, search for products, build market maps, manage pipelines, or run enrichment workflows using Alp... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 294 次。
如何安装 AlphaLens API?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install alphalens-api」即可一键安装,无需额外配置。
AlphaLens API 是免费的吗?
是的,AlphaLens API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
AlphaLens API 支持哪些平台?
AlphaLens API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 AlphaLens API?
由 WalidMustapha(@walidmustapha)开发并维护,当前版本 v1.0.21。
推荐 Skills