pp-company-goat
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCompany GOAT — Printing Press CLI
Company GOAT — Printing Press CLI
Prerequisites: Install the CLI
前提条件:安装CLI
This skill drives the binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
company-goat-pp-cli- Install via the Printing Press installer:
bash
npx -y @mvanhorn/printing-press install company-goat --cli-only - Verify:
company-goat-pp-cli --version - Ensure (or
$GOPATH/bin) is on$HOME/go/bin.$PATH
If the install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.23+):
npxbash
go install github.com/mvanhorn/printing-press-library/library/developer-tools/company-goat/cmd/company-goat-pp-cli@latestIf reports "command not found" after install, the install step did not put the binary on . Do not proceed with skill commands until verification succeeds.
--version$PATH本工具驱动二进制文件。在调用本工具的任何命令前,必须先验证CLI已安装。若未安装,请先执行以下步骤:
company-goat-pp-cli- 通过Printing Press安装器安装:
bash
npx -y @mvanhorn/printing-press install company-goat --cli-only - 验证:
company-goat-pp-cli --version - 确保(或
$GOPATH/bin)已添加到$HOME/go/bin环境变量中。$PATH
若安装失败(无Node环境、离线等情况),可退而采用直接Go安装方式(要求Go 1.23+版本):
npxbash
go install github.com/mvanhorn/printing-press-library/library/developer-tools/company-goat/cmd/company-goat-pp-cli@latest若安装后执行提示“command not found”,说明安装步骤未将二进制文件添加到中。在验证成功前,请不要执行本工具的命令。
--version$PATHWhen to Use This CLI
何时使用本CLI
Use Company GOAT when an agent or human needs structured company-research data on a small or midsize startup — fundraising, engineering signal, mention timeline, legal entity, domain age — without paying for Crunchbase Pro. Best for one-company-at-a-time deep research. Not for bulk discovery (sources don't scale to thousands of queries) and not for global private-market funding-graph queries (no source has that for free).
当Agent或用户需要获取中小型初创公司的结构化调研数据(融资情况、技术信号、提及时间线、法律实体、域名年限),且不想付费购买Crunchbase Pro时,可使用Company GOAT。它最适合单公司深度调研,不适合批量查询(数据源无法支持数千次查询),也不适合全球私募市场融资图谱查询(没有免费数据源提供此类信息)。
The killer feature: SEC Form D, free
核心亮点:免费获取SEC Form D数据
Most US startups raising priced equity rounds (Series Seed → Series C, Reg D 506(b)/506(c)) file Form D with the SEC within 15 days of first sale. The filing names the issuer, the offering amount, the exemption claimed, and the related persons (officers, directors, promoters). Crunchbase Pro charges $999/year for a wrapper around this same source; this CLI extracts it directly from EDGAR for free. Reach for when an agent needs to verify a US startup's actual fundraising history rather than quote Crunchbase Free's empty "undisclosed" rows.
funding大多数进行定价股权融资轮次(种子轮→C轮,Reg D 506(b)/506(c))的美国初创公司,会在首次发售的15天内向SEC提交Form D文件。该文件会列出发行人、融资额、申请的豁免条款及相关人员(高管、董事、发起人)。Crunchbase Pro每年收费999美元提供该数据源的包装服务;而本CLI可直接从EDGAR免费提取该数据。当Agent需要验证美国初创公司的实际融资历史,而非引用Crunchbase免费版中显示“未披露”的空行时,请使用命令。
fundingCoverage at a glance
覆盖范围概览
- SEC Form D / /
funding— US-only. Reg D priced rounds. Pre-Series-A SAFEs are not covered. Empty filings + afunding-trendis the expected response for non-US companies, pre-priced-round companies, and companies that just haven't filed yet. When Form D is empty,coverage_notefalls back to a broader EDGAR full-text search and surfaces mentions binned by signal class: subsidiary (10-K parent mentions), debt (Venture Lending and Leasing portfolio mentions), acquisition (8-K parent disclosures), and other.fundingalso searches across all form types, not just Form D. Disambiguation: EDGAR's full-text search matches by name fragment, so "Notion" hits both Notion Labs and Notion Capital VC. The result includesfunding --whoandcik_summarieswhenever multiple distinct CIKs match. Re-call withis_ambiguous: true(CIK from the summary) to filter to the correct entity. The compound commands (--cik <id>,snapshot,compare) propagate the ambiguity flag through their output and refuse to synthesize a side-by-side number when ambiguous — the agent decides which CIK is correct using broader context (Wikidata founders, GitHub org alignment, the user's intent) and re-runssignalto confirm.funding --ciksurfacessignalas its own signal class so cross-source consistency checks aren't trusted blindly.Form D match is ambiguous - Companies House / — UK Ltd / PLC only. Requires
legal --region uk(free at developer.companieshouse.gov.uk).COMPANIES_HOUSE_API_KEY - GitHub / — Any public org. Optional
engineeringraises rate limits from 60/hr to 5000/hr.GITHUB_TOKEN - Hacker News / /
mentions— Algolia full-text search across HN since 2007. No auth.launchesreturns both a year-month histogram AND the top-N stories sorted by points (usementionsto widen, default 5).--top Nis the Show-HN-only flavor — use it for "did this company ever post a Show HN" questions; uselaunchesfor "what do people say about this company on HN."mentions - YC directory / — YC-backed companies only.
yc - Wikidata / — Sparse on early-stage; mostly useful for established companies.
wiki - RDAP / DNS / — Any registered domain.
domain
- SEC Form D / /
funding— 仅覆盖美国地区。包含Reg D定价轮次,不涵盖Pre-Series-A阶段的SAFE融资。对于非美国公司、未进入定价轮次的公司及尚未提交文件的公司,返回空文件及funding-trend是预期结果。当Form D无数据时,coverage_note会 fallback 到更广泛的EDGAR全文搜索,并按信号类别展示提及内容:子公司(10-K母公司提及)、债务(风险租赁组合提及)、收购(8-K母公司披露)及其他类别。funding还会搜索所有类型的文件,而非仅Form D。歧义处理:EDGAR的全文搜索按名称片段匹配,因此“Notion”会同时匹配Notion Labs和Notion Capital VC。当多个不同CIK匹配时,结果会包含funding --who及cik_summaries。可通过is_ambiguous: true(摘要中的CIK)重新调用命令以筛选出正确实体。复合命令(--cik <id>、snapshot、compare)会在输出中传递歧义标记,且当存在歧义时不会生成并排对比数据——Agent需结合更广泛的上下文(Wikidata创始人信息、GitHub组织匹配度、用户意图)判断正确的CIK,再重新运行signal确认。funding --cik会将“Form D匹配存在歧义”作为独立信号类别展示,因此跨源一致性检查不会盲目信任结果。signal - Companies House / — 仅覆盖英国Ltd/PLC公司。需要
legal --region uk(可在developer.companieshouse.gov.uk免费获取)。COMPANIES_HOUSE_API_KEY - GitHub / — 覆盖所有公开组织。可选的
engineering可将API调用速率限制从60次/小时提升至5000次/小时。GITHUB_TOKEN - Hacker News / /
mentions— 通过Algolia全文搜索2007年以来的HN内容,无需授权。launches返回年月分布直方图及按点数排序的前N条热门内容(可使用mentions调整数量,默认5条)。--top N仅展示Show HN内容——用于查询“该公司是否发布过Show HN”;launches用于查询“HN上用户对该公司的评价”。mentions - YC目录 / — 仅覆盖YC孵化的公司。
yc - Wikidata / — 早期初创公司数据较少,主要适用于成熟公司。
wiki - RDAP / DNS / — 覆盖所有已注册域名。
domain
When Not to Use This CLI
何时不应使用本CLI
Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.
请勿在需要创建、更新、删除、发布、评论、点赞、邀请、订购、发送消息、预订、购买或修改远程状态的请求中激活本CLI。本CLI仅提供用于查看、导出、同步及分析的只读命令。
Unique Capabilities
独特功能
These capabilities aren't available in any other tool for this API.
以下功能是其他同类工具所不具备的:
Multi-source orchestration
多源编排
-
— Look up a company across SEC Form D, GitHub, Hacker News, Companies House, YC, Wikidata, and DNS in one command — rendered as a unified terminal summary in seconds.
snapshotWhen you need to evaluate a startup quickly, this is the one command that tells you whether they raised, are shipping code, are talked about, and are legitimate — without 8 browser tabs.bashcompany-goat-pp-cli snapshot --domain stripe.com --json -
— Surface suspicious cross-source patterns. Example: 'Form D says raised $5M in 2024 but GitHub org has 0 commits since 2022' or 'YC entry says Active but website domain expired'.
signalWhen deciding whether to engage with a startup, this command flags zombie companies and stale fundraising stories without you having to open every tab.bashcompany-goat-pp-cli signal --domain acme-corp.com --json
-
— 一条命令即可跨SEC Form D、GitHub、Hacker News、Companies House、YC、Wikidata及DNS查询公司信息,并在数秒内生成统一的终端摘要。
snapshot当你需要快速评估一家初创公司时,这条命令可一次性告诉你该公司是否完成融资、是否在持续开发代码、是否受到关注及是否合法合规——无需打开8个浏览器标签页。bashcompany-goat-pp-cli snapshot --domain stripe.com --json -
— 识别跨源可疑模式。例如:“Form D显示2024年融资500万美元,但GitHub组织自2022年以来无任何提交记录”或“YC条目显示活跃状态,但网站域名已过期”。
signal在决定是否与某初创公司合作时,这条命令可标记僵尸公司及过时融资信息,无需逐一查看每个数据源。bashcompany-goat-pp-cli signal --domain acme-corp.com --json
Killer feature
核心亮点
-
— See structured SEC Form D filings for a US private company — offering amount, filing date, exemption claimed (Reg D 506(b) vs 506(c)), related entities, and state of incorporation.
fundingWhen an agent needs to verify a US startup's actual fundraising history, this is the single most reliable free signal. Avoid agents quoting Crunchbase Free's empty 'undisclosed' rows.bashcompany-goat-pp-cli funding --domain stripe.com --json -
— Time series of Form D filings for a company across years — shows fundraising cadence and gaps. Useful for spotting 'they haven't raised since 2022' silently.
funding-trendUse this when an agent needs to summarize a company's fundraising arc, not just the latest round.bashcompany-goat-pp-cli funding-trend --domain stripe.com --since 2018 --json -
— Show every Form D filing that names a given person (officer, large holder). Reveals serial founders, repeat advisors, prolific investors.
funding --whoUse when an agent needs to map who's behind a constellation of startups, or verify a founder's actual filing history.bashcompany-goat-pp-cli funding --who 'Patrick Collison' --json
-
— 查看美国私营公司的结构化SEC Form D文件,包括融资额、提交日期、申请的豁免条款(Reg D 506(b) vs 506(c))、关联实体及注册州。
funding当Agent需要验证美国初创公司的实际融资历史时,这是最可靠的免费信号来源。避免Agent引用Crunchbase免费版中显示“未披露”的空行。bashcompany-goat-pp-cli funding --domain stripe.com --json -
— 公司历年Form D提交记录的时间序列,展示融资节奏及间隔。可用于发现“自2022年以来未进行融资”等潜在信息。
funding-trend当Agent需要总结公司的融资历程,而非仅查看最新一轮融资时,可使用此命令。bashcompany-goat-pp-cli funding-trend --domain stripe.com --since 2018 --json -
— 展示所有提及指定人员(高管、大额持有人)的Form D文件。可用于发现连续创业者、重复顾问及活跃投资者。
funding --who当Agent需要梳理某初创公司背后的人员关系,或验证创始人的实际提交记录时,可使用此命令。bashcompany-goat-pp-cli funding --who 'Patrick Collison' --json
Local state that compounds
可积累的本地状态
-
— Search the YC directory by free text + --batch and --industry filters. Free-text matches against name, one-liner description, industry, and location.
searchAn agent tasked with 'find a YC fintech with "agent" in the description' has a one-shot query rather than scrolling the YC directory.bashcompany-goat-pp-cli search 'agent' --industry fintech -
— Two snapshots aligned column-by-column for direct comparison. Free in this CLI; paid feature elsewhere.
compareWhen evaluating two competing startups, this is the one-shot comparison that doesn't require flipping between tabs.bashcompany-goat-pp-cli compare stripe.com adyen.com --json
-
— 通过自由文本+
search和--batch筛选条件搜索YC目录。自由文本匹配公司名称、一句话描述、行业及地点。--industryAgent只需一条命令即可完成“查找YC孵化的、描述中包含‘agent’的金融科技公司”这类任务,无需手动浏览YC目录。bashcompany-goat-pp-cli search 'agent' --industry fintech -
— 将两家公司的快照按列对齐,进行直接对比。此功能在本CLI中免费,在其他工具中为付费功能。
compare在评估两家竞争初创公司时,这条命令可一次性完成对比,无需在标签页间切换。bashcompany-goat-pp-cli compare stripe.com adyen.com --json
Command Reference
命令参考
filings — SEC EDGAR Form D filings — the primary data source for US private fundraising disclosure
- — Fetch all SEC submissions for a given CIK (Central Index Key). Used as the seed call when resolving a company's...
company-goat-pp-cli filings
Hand-written commands
- — Resolve a company name to a canonical domain. Returns numbered candidates if ambiguous; --pick N or --domain to...
company-goat-pp-cli resolve <name-or-domain> - — SEC EDGAR Form D filings + YC batch lookup. Shows offering amount, filing date, exemption claimed, related entities...
company-goat-pp-cli funding <co> - — GitHub org metadata: repo count, contributor count, commit cadence, top languages.
company-goat-pp-cli engineering <co> - — Show HN posts about this company, sorted by points. Includes launch year for spotting dead vs. active launches.
company-goat-pp-cli launches <co> - — Hacker News mention timeline: monthly histogram of mentions over time via Algolia full-text search.
company-goat-pp-cli mentions <co> - — Legal entity lookup. UK via Companies House (optional COMPANIES_HOUSE_API_KEY); US via SEC EDGAR Form D issuer...
company-goat-pp-cli legal <co> - — Y Combinator directory entry if the company was YC-backed: batch, status, location, description.
company-goat-pp-cli yc <co> - — Wikidata company facts: founded date, founders, HQ, industry, key people. Sparse on early-stage startups.
company-goat-pp-cli wiki <co> - — Domain age via RDAP/WHOIS, DNS records, and CNAME-based hosting hint (Vercel/Netlify/Heroku/Cloudflare Pages/AWS/GCP).
company-goat-pp-cli domain <co> - — Fan out across all 7 sources in parallel and render a unified summary. The headline command. Uses cliutil.FanoutRun...
company-goat-pp-cli snapshot <co> - — Two snapshots side-by-side, aligned by section. For evaluating which of two startups looks healthier.
company-goat-pp-cli compare <a> <b> - — Search the YC directory by free text +
company-goat-pp-cli search <query>and--batchfilters. Cross-source FTS5 over the synced store is on the v1 roadmap; today this is YC-only.--industry - — Cross-source consistency check. Flags suspicious patterns like 'raised in 2024 but no GitHub commits since 2022'....
company-goat-pp-cli signal <co> - — Time series of Form D filings over time. Useful for charting a startup's fundraising cadence.
company-goat-pp-cli funding-trend <co> - — Pull syncable resources (YC directory and any other configured) into local SQLite. Use
company-goat-pp-cli syncto pick a subset. Subsequent reads with--resourcesquery offline.--data-source local
filings — SEC EDGAR Form D文件,美国私营公司融资披露的主要数据源
- — 获取指定CIK(Central Index Key)的所有SEC提交文件。用于解析公司的...
company-goat-pp-cli filings
手动编写的命令
- — 将公司名称解析为标准域名。若存在歧义则返回编号候选结果;可使用
company-goat-pp-cli resolve <name-or-domain>或--pick N...--domain - — SEC EDGAR Form D文件+YC批量查询。展示融资额、提交日期、申请的豁免条款、关联实体...
company-goat-pp-cli funding <co> - — GitHub组织元数据:仓库数量、贡献者数量、提交频率、Top语言。
company-goat-pp-cli engineering <co> - — 展示该公司的Show HN帖子,按点数排序。包含发布年份,用于区分活跃与已停止的项目。
company-goat-pp-cli launches <co> - — Hacker News提及时间线:通过Algolia全文搜索生成的月度提及分布直方图。
company-goat-pp-cli mentions <co> - — 法律实体查询。英国地区通过Companies House(可选
company-goat-pp-cli legal <co>);美国地区通过SEC EDGAR Form D发行人...COMPANIES_HOUSE_API_KEY - — 若公司为YC孵化,展示YC目录条目:批次、状态、地点、描述。
company-goat-pp-cli yc <co> - — Wikidata公司信息:成立日期、创始人、总部、行业、关键人员。早期初创公司数据较少。
company-goat-pp-cli wiki <co> - — 通过RDAP/WHOIS查询域名年限、DNS记录及基于CNAME的托管提示(Vercel/Netlify/Heroku/Cloudflare Pages/AWS/GCP)。
company-goat-pp-cli domain <co> - — 并行调用所有7个数据源,生成统一摘要。这是核心命令。使用cliutil.FanoutRun...
company-goat-pp-cli snapshot <co> - — 将两家公司的快照按章节并排对齐,用于评估哪家初创公司更健康。
company-goat-pp-cli compare <a> <b> - — 通过自由文本+
company-goat-pp-cli search <query>和--batch筛选条件搜索YC目录。跨源FTS5同步存储功能已列入v1 roadmap;目前仅支持YC目录搜索。--industry - — 跨源一致性检查。标记可疑模式,如“2024年完成融资但GitHub自2022年以来无提交记录”...
company-goat-pp-cli signal <co> - — Form D提交记录的时间序列,用于绘制初创公司的融资节奏图表。
company-goat-pp-cli funding-trend <co> - — 将可同步资源(YC目录及其他配置资源)拉取到本地SQLite。可使用
company-goat-pp-cli sync选择子集。后续使用--resources可离线查询。--data-source local
Finding the right command
查找合适的命令
When you know what you want to do but not which command does it, ask the CLI directly:
bash
company-goat-pp-cli which "<capability in your own words>"which02--help当你知道要做什么但不确定对应命令时,可直接询问CLI:
bash
company-goat-pp-cli which "<用你自己的话描述功能>"which02--helpRecipes
使用示例
Quick due diligence on a US startup
美国初创公司快速尽职调查
bash
company-goat-pp-cli snapshot --domain anthropic.com --jsonFan out across all 7 sources and render a unified summary. Use to skip name resolution and go straight to the canonical entity. Each source returns so partial failures are visible.
--domain{status, data, note, elapsed}bash
company-goat-pp-cli snapshot --domain anthropic.com --json并行调用所有7个数据源,生成统一摘要。使用可跳过名称解析,直接查询标准实体。每个数据源返回,因此可查看部分失败情况。
--domain{status, data, note, elapsed}Find every SEC filing for a founder
查找某创始人的所有SEC文件
bash
company-goat-pp-cli funding --who 'Patrick Collison' --jsonReturns every Form D filing where this person is named — useful for mapping serial founders and repeat investors.
bash
company-goat-pp-cli funding --who 'Patrick Collison' --json返回所有提及该人员的Form D文件——用于梳理连续创业者及重复投资者的关系。
Compare two competing startups
对比两家竞争初创公司
bash
company-goat-pp-cli compare ramp.com brex.comAligns snapshots side-by-side; agent-readable. Use for tradeoff analysis.
bash
company-goat-pp-cli compare ramp.com brex.com将两家公司的快照并排对齐,便于Agent阅读。用于权衡分析。
Build a research database
构建调研数据库
bash
company-goat-pp-cli sync && company-goat-pp-cli search 'fintech'Pulls the YC directory and any other syncable resources into local SQLite, then full-text searches the synced index. Subsequent reads can use to query offline.
--data-source localbash
company-goat-pp-cli sync && company-goat-pp-cli search 'fintech'将YC目录及其他可同步资源拉取到本地SQLite,然后对同步索引进行全文搜索。后续可使用离线查询。
--data-source localSurface suspicious patterns
识别可疑模式
bash
company-goat-pp-cli signal --domain acme-corp.com --jsonCross-source consistency check — flags cases like 'raised $X in 2024 but GitHub silent since 2022' that no single source would catch.
bash
company-goat-pp-cli signal --domain acme-corp.com --json跨源一致性检查——标记单个数据源无法发现的情况,如“2024年融资X美元但GitHub自2022年以来无活动记录”。
Auth Setup
授权设置
No required keys. Three optional environment variables expand coverage and rate limits:
- — Sent in the SEC EDGAR User-Agent header to comply with EDGAR's fair-access policy. Recommended for any non-trivial use of
COMPANY_PP_CONTACT_EMAIL=you@example.com/funding/funding-trend.snapshot - — Raises GitHub API rate limit from 60/hr to 5000/hr.
GITHUB_TOKENworks. Used bygh auth token,engineering.snapshot - — Required for
COMPANIES_HOUSE_API_KEY. Register free at developer.companieshouse.gov.uk and create a REST application.legal --region uk
SEC EDGAR requests are paced and retried automatically. The CLI honors , backs off on 429/5xx responses, and exits with code 7 if SEC continues throttling after retries.
Retry-AfterRun to verify which of these are detected.
company-goat-pp-cli doctor无必填密钥。三个可选环境变量可扩展覆盖范围及提升速率限制:
- — 在SEC EDGAR User-Agent头中发送,以符合EDGAR的公平访问政策。对于
COMPANY_PP_CONTACT_EMAIL=you@example.com/funding/funding-trend的非 trivial 使用,推荐设置此变量。snapshot - — 将GitHub API调用速率限制从60次/小时提升至5000次/小时。可使用
GITHUB_TOKEN获取。用于gh auth token、engineering命令。snapshot - — 使用
COMPANIES_HOUSE_API_KEY时必填。可在developer.companieshouse.gov.uk免费注册并创建REST应用。legal --region uk
SEC EDGAR请求会自动调整速率并重试。CLI会遵守头,在收到429/5xx响应时退避,若SEC持续限流则退出码为7。
Retry-After执行可验证上述变量是否已被检测到。
company-goat-pp-cli doctorAgent Mode
Agent模式
Add to any command. Expands to: .
--agent--json --compact --no-input --no-color --yes-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
--selectbashcompany-goat-pp-cli filings --agent --select id,name,status -
Previewable —shows the request without sending
--dry-run -
Offline-friendly — sync/search commands can use the local SQLite store when available
-
Non-interactive — never prompts, every input is a flag
-
Read-only — do not use this CLI for create, update, delete, publish, comment, upvote, invite, order, send, or other mutating requests
在任何命令后添加,等效于:。
--agent--json --compact --no-input --no-color --yes-
可管道化 — stdout输出JSON,stderr输出错误信息
-
可筛选 —保留指定字段子集。点路径可深入嵌套结构;数组可遍历元素。对于冗长API,此功能对缩小上下文至关重要:
--selectbashcompany-goat-pp-cli filings --agent --select id,name,status -
可预览 —显示请求但不发送
--dry-run -
离线友好 — 同步/搜索命令可使用本地SQLite存储(若可用)
-
非交互式 — 从不提示,所有输入均通过标志传递
-
只读 — 请勿使用本CLI执行创建、更新、删除、发布、评论、点赞、邀请、订购、发送或其他修改状态的请求
Response envelope
响应信封
Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}Parse for data and to know whether it's live or local. A human-readable summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
.results.meta.sourceN results (live)从本地存储或API读取数据的命令会将输出包装在来源信封中:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}解析获取数据,表示数据是实时还是本地的。仅当stdout为终端时,才会向stderr打印人类可读的摘要——管道/Agent消费者仅会在stdout获取纯JSON。
.results.meta.sourceN results (live)Agent Feedback
Agent反馈
When you (or the agent) notice something off about this CLI, record it:
company-goat-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
company-goat-pp-cli feedback --stdin < notes.txt
company-goat-pp-cli feedback list --json --limit 10Entries are stored locally at . They are never POSTed unless is set AND either is passed or . Default behavior is local-only.
~/.company-goat-pp-cli/feedback.jsonlCOMPANY_FEEDBACK_ENDPOINT--sendCOMPANY_FEEDBACK_AUTO_SEND=trueWrite what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
当你(或Agent)发现本CLI存在问题时,可记录反馈:
company-goat-pp-cli feedback "--since标志为包含性,但文档说明为排他性"
company-goat-pp-cli feedback --stdin < notes.txt
company-goat-pp-cli feedback list --json --limit 10反馈条目存储在本地。仅当设置了且传递了或设置时,才会POST反馈。默认仅存储在本地。
~/.company-goat-pp-cli/feedback.jsonlCOMPANY_FEEDBACK_ENDPOINT--sendCOMPANY_FEEDBACK_AUTO_SEND=true请写下让你感到意外的内容,而非正式的bug报告。简短、具体、一句话即可:这才是有价值的反馈。
Output Delivery
输出交付
Every command accepts . The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
--deliver <sink>| Sink | Effect |
|---|---|
| Default; write to stdout only |
| Atomically write output to |
| POST the output body to the URL ( |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
每个命令都支持。输出会发送到指定sink(替代或附加到stdout),因此Agent无需手动管道即可路由命令结果。支持三种sink:
--deliver <sink>| Sink | 效果 |
|---|---|
| 默认;仅输出到stdout |
| 原子性地将输出写入 |
| 将输出体POST到指定URL( |
不支持的协议会返回结构化错误,列出支持的类型。Webhook失败时返回非零退出码,并在stderr记录URL及HTTP状态码。
Named Profiles
命名配置文件
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
company-goat-pp-cli profile save briefing --json
company-goat-pp-cli --profile briefing filings
company-goat-pp-cli profile list --json
company-goat-pp-cli profile show briefing
company-goat-pp-cli profile delete briefing --yesExplicit flags always win over profile values; profile values win over defaults. lists all available profiles under so introspecting agents discover them at runtime.
agent-contextavailable_profiles配置文件是一组保存的标志值,可在多次调用中复用。适用于调度Agent每次运行相同命令且配置相同的场景——即HeyGen的“Beacon”模式。
company-goat-pp-cli profile save briefing --json
company-goat-pp-cli --profile briefing filings
company-goat-pp-cli profile list --json
company-goat-pp-cli profile show briefing
company-goat-pp-cli profile delete briefing --yes显式标志优先级高于配置文件值;配置文件值优先级高于默认值。会在下列出所有可用配置文件,因此Agent可在运行时发现它们。
agent-contextavailable_profilesExit Codes
退出码
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 2 | 使用错误(参数错误) |
| 3 | 资源未找到 |
| 5 | API错误(上游问题) |
| 7 | 速率限制(等待后重试) |
| 10 | 配置错误 |
Argument Parsing
参数解析
Parse :
$ARGUMENTS- Empty, , or
help→ show--helpoutputcompany-goat-pp-cli --help - Starts with → ends with
install→ MCP installation; otherwise → see Prerequisites abovemcp - Anything else → Direct Use (execute as CLI command with )
--agent
解析:
$ARGUMENTS- 为空、或
help→ 显示--help输出company-goat-pp-cli --help - 以开头 → 若结尾为
install→ MCP安装;否则 → 参见上方前提条件mcp - 其他情况 → 直接使用(添加执行CLI命令)
--agent
MCP Server Installation
MCP服务器安装
- Install the MCP server:
bash
go install github.com/mvanhorn/printing-press-library/library/developer-tools/company-goat/cmd/company-goat-pp-mcp@latest - Register with Claude Code:
bash
claude mcp add company-goat-pp-mcp -- company-goat-pp-mcp - Verify:
claude mcp list
- 安装MCP服务器:
bash
go install github.com/mvanhorn/printing-press-library/library/developer-tools/company-goat/cmd/company-goat-pp-mcp@latest - 注册到Claude Code:
bash
claude mcp add company-goat-pp-mcp -- company-goat-pp-mcp - 验证:
claude mcp list
Direct Use
直接使用
- Check if installed: If not found, offer to install (see Prerequisites at the top of this skill).
which company-goat-pp-cli - Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the flag:
--agentbashcompany-goat-pp-cli <command> [subcommand] [args] --agent - If ambiguous, drill into subcommand help: .
company-goat-pp-cli <command> --help
- 检查是否已安装:若未找到,提供安装选项(参见顶部前提条件)。
which company-goat-pp-cli - 将用户查询与上述独特功能及命令参考中最匹配的命令关联。
- 添加标志执行:
--agentbashcompany-goat-pp-cli <command> [subcommand] [args] --agent - 若存在歧义,查看子命令帮助:。
company-goat-pp-cli <command> --help