Canonry
Open-source AEO (Answer Engine Optimization) monitoring CLI by AINYC. Tracks how AI answer engines cite or omit a domain for target keywords.
When to Use
Use this skill when setting up canonry, running visibility sweeps, interpreting citation results, managing projects/keywords/competitors, troubleshooting errors, performing competitive analysis, managing Google/Bing indexing, or working with analytics.
Quick Start
CODEBLOCK0
Key Concepts
- - Sweeps query AI providers and record whether your domain was cited
- Evidence shows per-keyword cited/not-cited results
- Analytics tracks citation trends, gaps, and source breakdowns over time
- Canonry is an observability tool — site changes take days/months to appear in AI responses
Always confirm with the user before running a sweep. Sweeps consume provider API quota.
Reference
references/aeo-analysis.md |
| Indexing workflows |
references/indexing.md |
Common Errors
| Error | Fix |
|---|
| INLINECODE1 | Server not running — INLINECODE2 |
| INLINECODE3 |
Run
canonry init |
|
canonry: command not found | Check PATH includes npm global bin |
|
429 rate_limit_error | Provider quota hit — wait or reduce sweep frequency |
| Run status
partial | Some providers failed — successful snapshots still saved |
| CDP connection refused | Chrome not running with
--remote-debugging-port |
Canonry
由 AINYC 开发的开源 AEO(答案引擎优化)监控命令行工具。追踪 AI 答案引擎如何针对目标关键词引用或忽略某个域名。
使用场景
在设置 canonry、运行可见性扫描、解读引用结果、管理项目/关键词/竞争对手、排查错误、执行竞争分析、管理 Google/Bing 索引或处理分析数据时使用此技能。
快速开始
bash
npm install -g @ainyc/canonry
canonry init --gemini-key --openai-key --claude-key
canonry start
canonry project create mysite --domain example.com
canonry keyword add mysite 最佳小工具制造商 如何构建小工具
canonry run mysite --wait
canonry evidence mysite
核心概念
- - 扫描 查询 AI 提供商并记录您的域名是否被引用
- 证据 显示每个关键词的已引用/未引用结果
- 分析 追踪随时间变化的引用趋势、差距和来源分布
- Canonry 是一个可观测性工具——网站变更需要数天/数月才能在 AI 响应中体现
运行扫描前务必与用户确认。 扫描会消耗提供商的 API 配额。
参考
references/aeo-analysis.md |
| 索引工作流 |
references/indexing.md |
常见错误
| 错误 | 修复方法 |
|---|
| fetch failed | 服务器未运行 — 执行 canonry start |
| Config not found |
执行 canonry init |
| canonry: command not found | 检查 PATH 是否包含 npm 全局 bin 目录 |
| 429 rate
limiterror | 提供商配额已用完 — 等待或降低扫描频率 |
| 运行状态 partial | 部分提供商失败 — 成功的快照仍会保存 |
| CDP 连接被拒绝 | Chrome 未使用 --remote-debugging-port 参数运行 |