{
  "name": "ifq CLI",
  "tagline": "Bring AI back to the terminal.",
  "description": "ifq CLI is a command-line AI tool by IFQ.AI that brings AI capabilities directly into the terminal workflow: instant Q&A, code explanation, code review, natural-language shell commands, multi-model deep analysis, persistent sessions, multi-agent teamwork, self-evolving prompts, and IFQ Design Skills.",
  "version": "1.1.0",
  "license": "MIT",
  "language": ["en", "zh-CN"],
  "vendor": {
    "name": "IFQ.AI",
    "alternateName": ["ifq.ai", "神秘Q", "MysteriousQ"],
    "url": "https://ifq.ai",
    "email": "hi@ifq.ai"
  },
  "author": {
    "name": "peixl",
    "url": "https://ifq.ai/",
    "github": "https://github.com/peixl"
  },
  "install": {
    "package": "@peixl/ifq",
    "bin": "ifq",
    "npm": "npm install -g @peixl/ifq",
    "requirements": "Node.js >= 18",
    "dependencies": "none (pure Node.js)",
    "platforms": ["macOS", "Linux", "Windows"],
    "quickStart": [
      "npm install -g @peixl/ifq",
      "ifq config --key sk-your-api-key",
      "ifq"
    ]
  },
  "commands": [
    { "name": "ifq", "category": "session", "description": "Start a persistent interactive session.", "example": "ifq" },
    { "name": "ifq ask", "category": "ask", "description": "Instant Q&A in the terminal.", "example": "ifq \"what's the difference between rebase and merge?\"" },
    { "name": "ifq explain", "category": "ask", "description": "Explain a code snippet or shell command.", "example": "ifq explain awk '{print $3}' /var/log/sys" },
    { "name": "ifq translate", "category": "ask", "description": "Command-line translation.", "example": "ifq translate" },
    { "name": "ifq shell", "category": "ask", "description": "Turn natural language into a shell command.", "example": "ifq shell find the 10 most recently modified files" },
    { "name": "ifq deep", "category": "analysis", "description": "Multi-model parallel deep analysis with expert consensus.", "example": "ifq deep \"Rust vs Go for microservices\"" },
    { "name": "ifq chat", "category": "session", "description": "Persistent session; context holds and memory compacts automatically.", "example": "ifq chat" },
    { "name": "ifq init", "category": "project", "description": "Generate .ifq, IFQ.md, and a code index for the current project.", "example": "ifq init" },
    { "name": "ifq config", "category": "config", "description": "Configure API URL, key, provider, and model.", "example": "ifq config --url https://api.openai.com" },
    { "name": "ifq m", "category": "config", "description": "Interactive model picker.", "example": "ifq m" },
    { "name": "ifq review", "category": "code", "description": "AI code review of a git diff.", "example": "git diff --cached | ifq review" },
    { "name": "ifq commit", "category": "code", "description": "Generate a Conventional Commit message.", "example": "ifq commit" },
    { "name": "ifq team", "category": "agents", "description": "Multi-agent: classify, route, and synthesize across agents.", "example": "ifq team \"design an agent workflow\"" },
    { "name": "ifq route", "category": "agents", "description": "Route a task to the right agent or model.", "example": "ifq route" },
    { "name": "ifq evolve", "category": "agent-os", "description": "Self-evolving, versioned prompts (system / agent / soul).", "example": "ifq evolve" },
    { "name": "ifq skills", "category": "agent-os", "description": "Skill system: install, create, and invoke skills.", "example": "ifq skills" },
    { "name": "ifq design", "category": "design", "description": "IFQ Design Skills — one line back a shippable design.", "example": "ifq design \"make a product launch keynote\"" }
  ],
  "flags": [
    { "flag": "--json", "description": "Machine-readable JSON output." },
    { "flag": "--quiet", "description": "Quiet mode (no chrome)." },
    { "flag": "--no-color", "description": "Disable ANSI color." },
    { "flag": "--session <name>", "description": "Use an isolated, named session." },
    { "flag": "--lang <code>", "description": "Set interface language (e.g. zh)." },
    { "flag": "--key <key>", "description": "Set the API key (with ifq config)." },
    { "flag": "--url <url>", "description": "Set the API base URL (with ifq config)." }
  ],
  "providers": [
    "OpenAI",
    "Anthropic (Claude)",
    "OpenRouter",
    "DeepSeek",
    "Ollama",
    "Any OpenAI-compatible API"
  ],
  "offline": "Runs fully local models offline via Ollama or any local OpenAI-compatible endpoint.",
  "designModes": [
    { "id": "M-01", "name": "Launch event", "trigger": "launch film / launch / product assets", "template": "hero-landing" },
    { "id": "M-02", "name": "Personal brand page", "trigger": "portfolio / personal site / about me", "template": "hero-landing" },
    { "id": "M-03", "name": "Whitepaper report", "trigger": "whitepaper / PDF report / annual report", "template": "infographic-vertical" },
    { "id": "M-04", "name": "Data dashboard", "trigger": "dashboard / board / KPI", "template": "dashboard-command-center" },
    { "id": "M-05", "name": "Comparison review", "trigger": "A vs B / roundup / benchmark", "template": "compare-vs" },
    { "id": "M-06", "name": "Onboarding", "trigger": "onboarding / first-run guide", "template": "hero-landing" },
    { "id": "M-07", "name": "Release diary", "trigger": "changelog / release notes", "template": "changelog-timeline" },
    { "id": "M-08", "name": "Keynote talk", "trigger": "keynote / talk deck / deck", "template": "slide-title" },
    { "id": "M-09", "name": "Social poster kit", "trigger": "social feed / cover art / social assets", "template": "social-x-card" },
    { "id": "M-10", "name": "Card & invite", "trigger": "business card / invitation / VIP card", "template": "business-card" },
    { "id": "M-11", "name": "Brand audit", "trigger": "brand checkup / brand upgrade", "template": "—" },
    { "id": "M-12", "name": "Full brand system", "trigger": "brand from scratch / build a brand", "template": "hero-landing" }
  ],
  "links": {
    "site": "https://cli.ifq.ai",
    "design": "https://cli.ifq.ai/design",
    "npm": "https://www.npmjs.com/package/@peixl/ifq",
    "github": "https://github.com/peixl",
    "mainSite": "https://ifq.ai",
    "productMap": "https://site.ifq.ai",
    "llms": "https://cli.ifq.ai/llms.txt",
    "llmsFull": "https://cli.ifq.ai/llms-full.txt",
    "aiPolicy": "https://cli.ifq.ai/ai.txt",
    "sitemap": "https://cli.ifq.ai/sitemap.xml"
  },
  "contact": "hi@ifq.ai",
  "aiUsage": "AI agents, crawlers, and language models are welcome to read, index, retrieve, summarize, cite, train on, and act on this content. Attribution to ifq.ai is appreciated."
}
