Skip to content
FunCoding

Agent access

Find and install resources with funcoding-cli, or let your local agent do it.

Let your agent install it.

Let agents use the command line to find and install Skills, configure MCP servers, sync favorites and read docs.

Claude CodeCodexCursor

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

Requires Node.js 18.17 or later. Run funcoding auth login, then choose Allow on the web page.

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": [{ "path": "SKILL.md", … }, …], "scripts": [ … ], "content": "---\nname: pdf …" } }

For agents

cli setup installs the command and a guide for agents. Sign in to call 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

    Run the sign-in command and choose Allow in the browser. For environments without a browser, such as CI or remote containers, create an API key in your account and set 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 funcoding-cli globally and add its Skill to local agents.
funcoding cli upgrade
Upgrade funcoding-cli and update its installed Skill.
funcoding info [<field>]
Show environment details: version, sign-in status, and the agents and Skill directories on this machine.
funcoding help [<command>]
Show command help. All commands support --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. Add --check to only check for updates.
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>]
Read the AI daily digest for a given date. Omit the date for the latest issue.
funcoding docs search <query>
Search the site’s docs. Use --agent to limit results to one agent.
funcoding docs fetch <agent/path>
Read the full doc as Markdown, with official sources and verification or sync dates.

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
Add --project to install in the current project and commit it for team use. Otherwise, install in your user directory for all projects.

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.
  • Credentials are stored in credentials.json in the CLI config directory, readable only by the current system user. Each account is limited to 60 requests per minute and 3000 per day.

Exit code

0
Success
1
General error
2
Invalid arguments or missing required values
3
Not found
4
Target already exists. Use --force to overwrite.
5
You are not signed in or your session has expired. Sign in again.
6
Rate limit exceeded