Axi 标志

Axi

社区
MoizIbnYousaf
axi

Agent eXperience Interface (AXI) router — the main entry point for agent-ergonomic CLIs. Use whenever the agent needs GitHub, browser automation, human review, quota routing, Slack, Notion, AWS/Docker/K8s, databases, GitLab (glab-axi), Oracle DB (oracle-axi), tmux/herdr/WezTerm sessions (cyber-mux), or any AXI-catalog tool; when choosing AXI vs MCP vs raw CLI; when building or reviewing an agent-facing CLI; or when the user says axi, gh-axi, chrome-devtools-axi, TOON output, agent ergonomics, or "prefer AXI". When in doubt about which external tool interface to use, start here.

概览

发布者MoizIbnYousaf
代码仓库marketing-cli
技能名称axi
星标数
35
复刻数
5
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 MoizIbnYousaf 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Axi AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/axi
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MoizIbnYousaf/marketing-cli.git /tmp/marketing-cli
mkdir -p .claude/skills
cp -r /tmp/marketing-cli/skills/axi .claude/skills/axi
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Axi,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Axi。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Axi 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

/axi — Agent eXperience Interface Router

AXI is not a protocol. It is 10 design principles for agent-ergonomic CLIs that beat both raw CLI and MCP on success, cost, duration, and turns (axi.md, kunchenguid/axi).

This skill is the main router for the AXI catalog (official + community). It picks the right AXI, installs/runs it agent-first (npx -y <axi>), and teaches the principles when you build or review agent-facing CLIs.

North Star

DepthFile
10 principles (full spec)rules/principles.md
Official + community catalogrules/catalog.md
AXI vs MCP vs raw CLI vs mktg toolsrules/prefer-axi.md
Build / review an AXIrules/build.md
Benchmark numbersrules/benchmarks.md
Upstream build-skill snapshotreferences/upstream-axi-skill.md

Workflow (escalation)

  1. Unclear — User wants "the right tool." Detect domain → route via the table. Explain out loud.
  2. Use — An AXI exists for the domain. Prefer npx -y <axi> … (zero global install). Fall back to global binary if already on PATH.
  3. Ambient — Repeated sessions in one domain → suggest <axi> setup hooks (SessionStart) after explicit user opt-in.
  4. Build / review — Designing an agent-facing CLI → load rules/principles.md + rules/build.md. Do not invent a parallel MCP server first.
  5. Missing AXI — No catalog entry → prefer the least-bad existing path (mktg skill, raw CLI, MCP) per rules/prefer-axi.md, and offer to scaffold a new AXI.

On Activation (every time)

  1. Restate the domain in one sentence ("You need GitHub PR/CI triage" / "You need live browser extraction").
  2. Probe availability (non-blocking):
    • which gh-axi chrome-devtools-axi 2>/dev/null; npx -y gh-axi --version 2>/dev/null | head -1
    • Optional: mktg doctor --json --fields checks and note cli-gh, cli-gh-axi, cli-chrome-devtools-axi.
  3. Route via the AXI Routing Table. Always say why: "I'm using gh-axi instead of raw gh / GitHub MCP because AXI wins on cost and success for GitHub tasks."
  4. Prefer content-first invocation: run the AXI with no args once to see live state + help[] next steps, then follow those templates.
  5. If the user is building a CLI for agents → skip catalog routing; open principles + build rules.
  6. Never silently fall back to MCP when an AXI exists for that domain.

AXI Routing Table

NeedAXIInstall / runLayer
GitHub issues, PRs, CI runs, releases, secrets, projectsgh-axinpx -y gh-axi (needs gh auth login)Official
Browse, click, fill, extract, tables, Lighthousechrome-devtools-axinpx -y chrome-devtools-axiOfficial
Human review of HTML artifacts (annotate → agent feedback)lavish-axinpx skills add kunchenguid/lavish-axi / see catalogOfficial
Local Claude/Codex/Cursor/Copilot/Grok quota windowsquota-axisee rules/catalog.mdOfficial
Jujutsu historyjj-axicommunityVCS
npm registry inspectnpm-axicommunityPackages
SQLite inspect / capped queriessqlite-axicommunityData
Slack read/search/draftslack-axicommunityComms
Gmail/Calendar/Docs/Drive/Slides (draft-only mail)gws-axicommunityWorkspace
Harvest time trackingharvest-axicommunityOps
Spec-driven agent workflow (AXI-in-skill demo)specopscommunityProcess
Git-backed record sheetsgitsheets-axicommunityData
Metabase SQL/MBQLmetabase-axicommunityAnalytics
Otter.ai transcriptsotter-axicommunityMeetings
Notion pages/databasesnotion-axicommunityDocs
ClickUp tasksclickup-axicommunityTasks
Databricks jobs/runsdatabricks-axicommunityData
AWS host/deployaws-axicommunityCloud
Docker app lifecycledocker-axicommunityCloud
DynamoDBdynamodb-axicommunityData
PostgreSQLpg-axicommunityData
MongoDBmongodb-axicommunityData
Elasticsearchelasticsearch-axicommunityData
Kubernetes workloadskubernetes-axicommunityCloud
Redisredis-axicommunityData
Celery queuescelery-axicommunityCloud
Oracle DBoracle-axicommunityData
tmux / herdr / WezTerm sessionscyber-muxcommunity (overlaps /tmux, /herdr)Terminal
GitLab issues / MRs / pipelinesglab-axicommunityVCS
Design / review agent CLI ergonomics(this skill → principles)read rulesMeta
Marketing playbook (brand, content, publish)/cmomktg skillsOut of scope

Full URLs + one-liners: rules/catalog.md.

Disambiguation

User saysRoute toNotWhy
"check the PR / CI / issues"gh-axiraw gh, GitHub MCPAXI: 100% success @ $0.050 vs CLI 86% / MCP ~$0.10–0.15
"open this page / click / fill form / extract table"chrome-devtools-axichrome-devtools-mcp, agent-browserCombined ops + --query; 100% @ $0.074, 4.5 turns
"scrape this URL I already have" (static content)firecrawl / exa-contentschrome-devtools-axiDon't pay for a browser when fetch/crawl is enough
"search the web for X" (unknown URLs)exa-search / Exa MCPchrome-devtools-axiSemantic search ≠ browser automation
"automate Instagram/TikTok login post"/cmo + browser profile / mktg publishchrome-devtools-axi aloneMarketing distribution is /cmo's job
"help me market / write copy / SEO"/cmo/axiAXI routes tools; CMO routes marketing skills
"build a CLI for my agent"/axi principles + buildMCP-first designPrincipled CLI beats MCP on the published benches
"use MCP for GitHub/browser"Prefer matching AXI firstEager MCP schemasMCP schema overhead ~2.3× input tokens in GitHub bench (185K vs 79K)
"what's my Cursor/Claude quota"quota-axiguessing from UILocal-first usage windows for routing-aware agents
"review this HTML with humans"lavish-axipaste into chatAnnotation loop back to the agent

First 5 Minutes (new machine)

  1. Confirm Node 20+ for npx.
  2. For GitHub work: gh auth login once, then npx -y gh-axi (home view).
  3. For browser work: npx -y chrome-devtools-axi open https://example.com --query "Example".
  4. Optional ambient context: npm i -g gh-axi && gh-axi setup hooks (restart session).
  5. Tell the user which AXI you chose and the one-line why.

Guardrails

  • Prefer AXI when a catalog entry exists for that domain. Explain the preference; don't debate protocol religion.
  • Zero-install first: npx -y <axi> … before asking the user to npm i -g.
  • Follow help[]: AXI outputs next-step command templates — use them; don't invent flags.
  • Fail loud: unknown flags must error (exit 2). Never invent flags and trust unscoped output.
  • No interactive prompts. If a required value is missing, fail with a structured error + suggested command.
  • Pipe for tokens: | head, | rg on AXI stdout is encouraged; don't dump full snapshots into context when --query exists.
  • Skills never call skills. /axi orchestrates tool choice; leaf AXIs execute. Exception: /cmo owns marketing — hand off explicitly.
  • Hooks are opt-in. Never run setup hooks without clear user intent.
  • TOON on the wire. When building AXIs, stdout is TOON; keep internals on JSON. Spec: https://toonformat.dev/

Anti-Patterns

Anti-patternWhy it's wrongDo this instead
Loading full MCP tool schemas for GitHub/browser when an AXI existsSchema tax balloons input tokens every turnRoute to gh-axi / chrome-devtools-axi
navigate then separate snapshot every clickDoubles turns; AXI combines opsopen, click --query, fill … --submit
Dumping full page snapshots into contextBurns the token budget--query "…", pipe filters, truncation + --full
Silent fallback to raw gh because "I know the flags"Raw CLI loses accuracy on the GitHub benchUse gh-axi; keep gh only for gaps AXI doesn't wrap yet
Building a new MCP server before an AXI CLIProtocol choice ≠ ergonomicsApply the 10 principles; ship CLI + optional skill + optional hooks
Presenting the entire catalog as a menuShifts the decision to the humanRecommend 1 AXI with a one-line why
Using browser AXI for static URL fetchOverkill cost/latencyfirecrawl / exa-contents / curl

Error Recovery

FailureFix
npx / network blockedInstall global once: npm i -g gh-axi (or the needed AXI); retry
gh-axi auth errorgh auth login (and gh auth refresh -s project when Projects need scope)
chrome-devtools-axi bridge stalechrome-devtools-axi stop then retry; or new CHROME_DEVTOOLS_AXI_SESSION=…
STALE_REF on clickRe-snapshot / open --query and use the new @g:… ref
Unknown command (navigate)Read AXI help[] / --help — prefer open, not MCP verb names
No AXI for domainUse prefer-axi fallback; offer to scaffold per rules/build.md

Progressive Enhancement

LevelWhat /axi can do
L0Route by domain; run via npx -y with no prior setup
L1Binaries on PATH; faster cold start
L2setup hooks ambient home views for Claude Code / Codex / OpenCode
L3Multiple community AXIs installed; quota-aware routing via quota-axi
L4Team ships internal AXIs using principles + contributor catalog workflow

Attribution

Principles, catalog, and benchmarks from AXI / kunchenguid/axi (MIT). This mktg skill is the router + catalog orchestrator adapted for /cmo-style activation; the upstream build-skill snapshot lives in references/upstream-axi-skill.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Axi AI 技能有什么作用?

Agent eXperience Interface (AXI) router — the main entry point for agent-ergonomic CLIs. Use whenever the agent needs GitHub, browser automation, human review, quota routing, Slack, Notion, AWS/Docker/K8s, databases, GitLab (glab-axi), Oracle DB (oracle-axi), tmux/herdr/WezTerm sessions (cyber-mux), or any AXI-catalog tool; when choosing AXI vs MCP vs raw CLI; when building or reviewing an agent-facing CLI; or when the user says axi, gh-axi, chrome-devtools-axi, TOON output, agent ergonomics, or "prefer AXI". When in doubt about which external tool interface to use, start here.

为什么在 TypingMind 中使用 Axi?

因为您只需安装一次,就能搭配任何模型使用。Axi 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Axi?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/axi。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Axi?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Axi 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Axi 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Axi AI 技能免费吗?

是的。MoizIbnYousaf 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇