Loading...
Loading...
Compare original and translation side by side
cargo-ai contextwriteeditexecuteThe canonical example of a context repository is. Read itsgetcargohq/cargo-workspacesto understand the domain layout and file conventions before writing new entries. For uploading runtime-independent files (CSVs, PDFs) used in batch runs, useREADME.md(cargo-workspace-management) instead. For RAG file attachments to agents, usecargo-ai workspaceManagement file upload(cargo-ai).cargo-ai content file upload
Seefor the full context repo structure and per-domain templates. Seereferences/conventions.mdfor the JSON shapes returned by eachreferences/response-shapes.mdcommand. Seecargo-ai contextfor common errors and how to fix them. Seereferences/troubleshooting.mdfor end-to-end add / edit / delete recipes. Seereferences/examples/authoring.mdfor the bootstrap + refresh-from-calls playbook. Seereferences/examples/lifecycle.mdfor inspecting the knowledge graph.references/examples/graph-queries.md
cargo-ai contextwriteeditexecutecontext仓库的标准示例为。在编写新条目之前,请阅读其getcargohq/cargo-workspaces以了解领域布局和文件规范。 若要上传批量运行中使用的独立于运行时的文件(如CSV、PDF),请使用README.md(cargo-workspace-management)。 若要为Agent上传RAG附件文件,请使用cargo-ai workspaceManagement file upload(cargo-ai)。cargo-ai content file upload
完整的context仓库结构和各领域模板请查看。 每个references/conventions.md命令返回的JSON格式请查看cargo-ai context。 常见错误及修复方法请查看references/response-shapes.md。 端到端的添加/编辑/删除操作示例请查看references/troubleshooting.md。 初始化+从通话记录刷新的操作指南请查看references/examples/authoring.md。 知识图谱查询示例请查看references/examples/lifecycle.md。references/examples/graph-queries.md
../cargo/references/prerequisites.md--oauth--tokencargo-ai whoamiruntime writeruntime editworkspace.name--oauth--token../cargo/references/prerequisites.mdcargo-ai whoamiruntime writeruntime editworkspace.namecargo-ai context runtime browse # list entries at the runtime sandbox root
cargo-ai context graph get # full knowledge graph derived from the repo's md/mdx filescargo-ai context runtime browse # 列出运行时沙箱根目录下的条目
cargo-ai context graph get # 获取从仓库md/mdx文件衍生的完整知识图谱undefinedundefinedundefinedundefinedwriteeditexecuteexecuteexecute.files/content filecargo-content.files/executereadbrowsecargo-ai context runtime execute --command ls --args '["-1",".files"]'.files/cargo-ai content file …writeeditcargo-ai whoami # → workspace.uuid, workspace.nameworkspace.nameworkspace.nameexample.comcargo-ai login --oauth --workspace-uuid <uuid>--token <workspace-scoped-token>references/examples/lifecycle.mdwriteeditexecuteexecuteexecute.files/content filecargo-content.files/executereadbrowsecargo-ai context runtime execute --command ls --args '["-1",".files"]'.files/cargo-ai content file …writeeditcargo-ai whoami # → workspace.uuid, workspace.nameworkspace.nameworkspace.nameexample.comcargo-ai login --oauth --workspace-uuid <uuid>--token <workspace-scoped-token>references/examples/lifecycle.mdundefinedundefinedundefinedundefinedwrite.md.mdxtitledescriptiontitlewriterepositoryNotFoundsyncConflictsyncFailedfailedToWritedeniedPath.files/references/response-shapes.mdcargo-ai context runtime write \
--path persona/vp-sales-mid-market.md \
--content "$(cat <<'EOF'
---
title: VP of Sales, mid-market
description: Owns pipeline, quota, and rep productivity at a 200–2,000-person company.
---write.md.mdxtitledescriptiontitlewriterepositoryNotFoundsyncConflictsyncFailedfailedToWritedeniedPath.files/references/response-shapes.mdcargo-ai context runtime write \
--path persona/vp-sales-mid-market.md \
--content "$(cat <<'EOF'
---
title: VP of Sales, mid-market
description: Owns pipeline, quota, and rep productivity at a 200–2,000-person company.
---undefinedundefinededit--old-string--new-stringedittitledescriptioneditstringNotFoundstringNotUnique--old-stringfileNotFoundnoOpsyncConflictsyncFailedfailedToEditdeniedPathundefinededit--old-string--new-stringedittitledescriptioneditstringNotFoundstringNotUnique--old-stringfileNotFoundnoOpsyncConflictsyncFailedfailedToEditdeniedPathundefined
For larger restructures, prefer `write` (full-file overwrite) over many sequential `edit` calls.
对于较大规模的重构,建议使用`write`(全文件覆盖)而非多次连续的`edit`调用。executeundefinedexecuteundefined
`--args` is a JSON array of string arguments. Omit it for a no-arg command.
`--args`是字符串参数的JSON数组。无参数命令可省略该选项。getcargohq/cargo-workspacesREADME.md_template.mdreferences/conventions.mdgetcargohq/cargo-workspacesREADME.md_template.mdreferences/conventions.md| Domain | Purpose |
|---|---|
| Company-level context: mission, voice, positioning, narrative, pricing |
| Ideal Customer Profile segments |
| Buyer personas (roles inside an ICP) |
| Jobs-to-be-done framings |
| Competitors, substitutes, status quo |
| Customer profiles, case studies, reference accounts |
| Market insights and observations |
| Channel playbooks (email, LinkedIn, cold call, etc.) |
| Objections + responses + proof |
| GTM plays (signal → audience → channel → sequence → outcome) |
| Atomic proof points (metrics, quotes, case data) |
| Buying signals and intent triggers |
| 领域 | 用途 |
|---|---|
| 公司级上下文:使命、品牌调性、定位、叙事、定价 |
| 理想客户画像细分 |
| 购买者角色(ICP内的具体职位) |
| 待完成工作框架 |
| 竞争对手、替代方案、现状 |
| 客户档案、案例研究、参考客户 |
| 市场洞察与观察 |
| 渠道操作手册(邮件、LinkedIn、冷呼叫等) |
| 异议处理+回复+案例证明 |
| GTM策略方案(信号→受众→渠道→流程→结果) |
| 原子化证明点(指标、引用、案例数据) |
| 购买信号与意向触发因素 |
kebab-case.mdvp-sales-mid-market.md.md.mdxtitledescriptiontitlesummarydescriptionsummary:domain/slug.mdpersona/vp-sales-mid-marketdomain/slug_template.mdcargo-ai context runtime read --path persona/_template.md_template.*kebab-case.mdvp-sales-mid-market.md.md.mdxtitledescriptiontitlesummarydescriptionsummary:domain/slug.mdpersona/vp-sales-mid-marketdomain/slug_template.mdcargo-ai context runtime read --path persona/_template.md_template.*.md.mdx.yaml.yml.git/references:---
title: AgoraPulse expansion thesis
description: Why AgoraPulse is ready for a multi-thread expansion play.
references:
- outputs/sales-notes/2026-06-05-agorapulse-build-session-1-outcomes.md
---[label](path)outputs/sales-notes/2026-06-05-agorapulse-build-session-1-outcomes.md[[outputs/sales-notes/2026-06-05-agorapulse-build-session-1-outcomes]]Source:outputs/sales-notes/foo.md.md.mdx.yaml.ymlruntime browsereferences:references/conventions.md.md.mdx.yaml.yml.git/references:---
title: AgoraPulse expansion thesis
description: Why AgoraPulse is ready for a multi-thread expansion play.
references:
- outputs/sales-notes/2026-06-05-agorapulse-build-session-1-outcomes.md
---[label](path)outputs/sales-notes/2026-06-05-agorapulse-build-session-1-outcomes.md[[outputs/sales-notes/2026-06-05-agorapulse-build-session-1-outcomes]]Source:outputs/sales-notes/foo.md.md.mdx.yaml.ymlruntime browsereferences:references/conventions.mdcargo-ai context runtime read --path persona/_template.mdwrite<domain>/<slug>.mdtitledescriptiondomain/slugcargo-ai context graph getreferences/conventions.mdreferences/examples/authoring.mdcargo-ai context runtime read --path persona/_template.mdwrite<domain>/<slug>.mdtitledescriptiondomain/slugcargo-ai context graph getreferences/conventions.mdreferences/examples/authoring.mdreferences/examples/lifecycle.mdglobal/persona/client/proof/objection/signal/references/examples/bootstrap-from-domain.mdreferences/conventions.mdreferences/examples/lifecycle.mdglobal/persona/client/proof/objection/signal/references/examples/bootstrap-from-domain.mdreferences/conventions.mdcontext graph getcargo-ai context graph getdomain/slugjqreferences/examples/graph-queries.mdcontext graph getcargo-ai context graph getdomain/slugjqreferences/examples/graph-queries.md--helpcargo-ai context --help
cargo-ai context runtime browse --help
cargo-ai context runtime read --help
cargo-ai context runtime write --help
cargo-ai context runtime edit --help
cargo-ai context runtime execute --help
cargo-ai context graph get --help--helpcargo-ai context --help
cargo-ai context runtime browse --help
cargo-ai context runtime read --help
cargo-ai context runtime write --help
cargo-ai context runtime edit --help
cargo-ai context runtime execute --help
cargo-ai context graph get --help