# Agent Desktop Ffi (agent skill)

> Agent Desktop Ffi is an agent skill (a SKILL.md file) from vercel-labs/agent-desktop. C-ABI bindings over agent-desktop's PlatformAdapter. It works with Claude Code and Cursor and has 18,372 GitHub stars across a repository of 4 listed skills. Install it by copying the skill folder into your agent's skills directory.

C-ABI bindings over agent-desktop's PlatformAdapter. Consumers (Python ctypes, Swift, Node ffi-napi, Go cgo, C++, Ruby fiddle) link libagentdesktopffi.{dylib,so,dll} and call ad functions directly instead of spawning the CLI binary per call. The canonical observe-act workflow is: adinit → adadaptercreate[withsession] → adsnapshot → read qualified refs (@s8f3k2p9:e5) → adexecutebyref → adfreestring → adadapter_destroy. Direct C-ABI access to PlatformAdapter operations.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/vercel-labs/agent-desktop |
| Skill path | skills/agent-desktop-ffi/SKILL.md |
| Skill name | agent-desktop-ffi |
| GitHub stars | 18,372 |
| Installs on skills.sh | not listed |
| License | Apache-2.0 |
| Skills in repo | 4 |
| Plugin marketplace | no |
| Official | yes |
| Works with | Claude Code, Cursor |
| Category | Coding |
| Last commit | Nov 5, 2026 |

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/vercel-labs/agent-desktop.git
cp -r agent-desktop/skills/agent-desktop-ffi ~/.claude/skills/agent-desktop-ffi   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/vercel-labs/agent-desktop.git
cp -r agent-desktop/skills/agent-desktop-ffi .agents/skills/agent-desktop-ffi   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/vercel-labs/agent-desktop.git
cp -r agent-desktop/skills/agent-desktop-ffi .cursor/skills/agent-desktop-ffi   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/vercel-labs-agent-desktop-ffi
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
