Skip to content
FunCoding

Search

Search docs, Skills and MCP

Agent access

Let agents and your own programs find and install Skills and MCP servers from this site, and read the docs.

Latest versionv0.5.0

funcoding-cli

A command line for AI coding agents: find and install Skills, configure MCP servers, sync favorites and read docs. You ask, your agent runs it.

Send this to Claude Code, Codex or Cursor:

Run npx --yes funcoding-cli@latest cli setup and sign in, then find and install a Skill for working with PDFs.

Or run it yourself in a terminal (Node.js 18.17 or later):

npx --yes funcoding-cli@latest cli setup
funcoding auth login

Once installed, the command is funcoding, or fun for short.

Example: an agent installs a Skill
  1. You:Find a Skill for working with PDFs and install it.

  2. funcoding skills find pdf --json

  3. { "ok": true, "skills": [{ "id": "anthropics/skills/pdf", "stars": 180156, … }, …] }

  4. funcoding skills info anthropics/skills/pdf --json

  5. { "ok": true, "skill": { "files": [12], "scripts": [8], "content": "---\nname: pdf …" } }

  6. Agent:I suggest anthropics/skills/pdf (180k stars). It reads, merges and splits PDFs and fills in forms. It includes 8 Python scripts that run on your machine when used. Install it for Claude Code?

  7. You:Yes, install it.

  8. funcoding skills add anthropics/skills/pdf --json

  9. { "ok": true, "installed": [{ "dir": "~/.claude/skills/pdf", "files": 12 }] }

  10. Agent:Installed to ~/.claude/skills/pdf. Start a new session and type /pdf to use it.

For agents

cli setup teaches your agents when and how to use the funcoding command. Sign in to use the site’s API.

  1. Install the funcoding command globally

    Upgrades an older version if one is installed. You and your agents can then run funcoding directly.

    Skip this step: --no-global

  2. Add the funcoding-cli Skill to your agents

    The Skill is a short guide: which commands exist, when to use them, and to review and ask before installing anything. It is what lets your agent call funcoding on its own. It goes into the user folder of each agent found on this machine, such as ~/.claude/skills/funcoding-cli/.

    Skip this step: --no-agent-skills

  3. Sign in to funcoding.ai

    The site’s API needs authorization. The command opens your browser; click “Allow” on the page. Without a browser (CI, remote containers), create an API key in your account and set it as FUNCODING_API_KEY.

    funcoding auth login

cli upgrade also refreshes the installed Skill.

Add only the Skill, without the global command (your agent will run it with npx):

npx skills add https://funcoding.ai

Commands

Add --help to any command to see how to use it.

funcoding can be shortened to fun, for example:fun skills find pdf

Basics

funcoding cli setup
Install the tool globally and add the funcoding-cli Skill to the agents on this machine.
funcoding cli upgrade
Upgrade to the latest version and refresh the installed funcoding-cli Skill.
funcoding info [<field>]
Show environment details: version, sign-in status, and the agents and Skill directories on this machine.
funcoding help [<command>]
Show help. Every command also accepts --help.

Skill

funcoding skills find <query>
Find Skills by keyword.
funcoding skills info <id>
Show the description, file list and full SKILL.md so the agent can review it before installing.
funcoding skills add <id>...
Install one or more Skills. You can also paste a detail page URL from the site.
funcoding skills list
List the Skills installed for each agent, in the user directory and the current project.
funcoding skills update [<name>]
Reinstall from the original source. With --check, only report whether updates are available.
funcoding skills remove <name>...
Remove Skills installed with funcoding-cli. A backup is made first.

MCP

funcoding mcp find <query>
Find MCP servers by keyword.
funcoding mcp info <id>
Show the available launch options and the environment variables or headers they need.
funcoding mcp add <id>
Write the server into the agent’s MCP config. Pass required values with --env or --header.
funcoding mcp list
List configured MCP servers.
funcoding mcp remove <name>...
Remove an MCP server from the config. The original file is backed up first.

Favorites and lists

funcoding auth login | logout | status
Sign in by authorizing in the browser, sign out, or show the current account.
funcoding favorites list
List the Skills and MCP servers you’ve saved on the site.
funcoding favorites add <id>...
Install only the favorites you name. Skills and MCP servers are detected automatically.
funcoding favorites sync
Install all your favorites at once, skipping anything already installed.
funcoding lists add <link>
Install a list someone shared.

News and docs

funcoding news list
Show trending AI news.
funcoding news daily [<date>]
Show the AI digest for a given day, or the latest issue if no date is given.
funcoding docs search <query>
Search the site’s Chinese docs. Filter by agent with --agent.
funcoding docs fetch <agent/path>
Read a doc in full (Markdown), with its official sources and verification date.

Conventions

Commands never stop to ask questions. Confirm actions with flags such as --force.

--json
stdout prints a single JSON object: { "ok": true, … } on success, or { "ok": false, "error": { "code", "message", "hint" } } on failure, where hint is the next command to run.
--agent
Which agent to install for: claude-code, codex or cursor, comma-separated for several, or all for every agent detected on this machine. Defaults to claude-code, so set it explicitly in Codex or Cursor.
--project
Install into the current project so it can be committed and shared with your team. Without it, installs go to your user directory and apply to every project.

Install locations

Locations come from each agent’s official docs, which remain the source of truth.

--agentSkillMCP
claude-code~/.claude/skills/
.claude/skills/
claude mcp add-json --scope user
.mcp.json
codex~/.agents/skills/
.agents/skills/
~/.codex/config.toml
.codex/config.toml
cursor~/.cursor/skills/
.cursor/skills/
~/.cursor/mcp.json
.cursor/mcp.json

The first line is the user directory; the second is the current project (--project).

Security

  • A Skill acts on the instructions in its SKILL.md and may run the scripts it contains. The funcoding-cli Skill tells the agent to review a Skill with skills info and get your approval before installing it.
  • funcoding-cli only downloads files from the Skill’s own directory on GitHub and rejects any path outside the target directory. Each Skill is limited to 200 files and 10 MB.
  • Before overwriting or removing a Skill, or changing an MCP config, the original is backed up to the CLI config directory (~/.config/funcoding/ on macOS and Linux, %APPDATA%\funcoding on Windows).
  • Keys required by MCP servers are passed as command arguments and written only to the agent’s config file; they are never sent to the site.
  • Your sign-in is stored in credentials.json in the CLI config directory, readable only by you. Each account can make up to 60 requests per minute and 3000 per day.