Logo Axi

Axi

Cộng đồng
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.

Tổng quan

Nhà phát hànhMoizIbnYousaf
Kho mãmarketing-cli
Tên kỹ năngaxi
Sao
35
Bản fork
5
Tệp đi kèm
8
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 8 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được MoizIbnYousaf công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Axi trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/axi
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Axi trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Axi ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Axi với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

/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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Axi làm được gì?

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.

Vì sao nên dùng Axi trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Axi là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Axi trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/axi. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Axi?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Axi với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Axi với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Axi có miễn phí không?

Có. Kỹ năng này được MoizIbnYousaf phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇