redis/agent-filesystem-agent-filesystem
Manage Agent Filesystem through the control-plane MCP server. Use when the `agent-filesystem` MCP server is available, or when the user asks Codex to list, create, fork, checkpoint, delete, or connect AFS workspaces using a control-plane token.
npx skills add https://github.com/redis/agent-filesystem --skill agent-filesystem
This plugin connects Codex to AFS as the agent-filesystem MCP server. It uses
a control-plane token, so the server exposes workspace management and
token-management tools rather than file tools for one specific workspace.
agent-filesystem MCP tools for workspace management instead ofshelling out to afs or editing local config by hand.
target workspace and checkpoint with the user before calling those tools.
token, tell the user where it should be stored and avoid repeating it in later
messages.
Self-managed in user-facing copy for a user-run control plane.Use these tools when the agent-filesystem MCP server is connected with a
control-plane token:
workspace_list: list visible workspaces.workspace_get: inspect a specific workspace.workspace_create: create a workspace, optionally from a template.workspace_fork: fork a workspace into a new workspace.workspace_delete: delete a workspace and its data. Confirm first.checkpoint_list: list checkpoints for a workspace.checkpoint_create: create a checkpoint from live workspace state.checkpoint_restore: restore live workspace state from a checkpoint. Confirm first.mcp_token_issue: mint a workspace-scoped MCP token for a specific workspace.mcp_token_revoke: revoke a control-plane or workspace MCP token by id.Call workspace_list, then summarize the workspace names, databases, template
slugs, and anything that looks like a likely current target.
Ask for a name only if the user has not given one. Prefer lowercase,
hyphen-delimited workspace names. If a template is relevant, pass
template_slug; otherwise create an empty workspace.
mcp_token_issue with the workspace name and a clear token label.workspace-rw for normal file editing, workspace-ro for inspection,and workspace-rw-checkpoint when the agent should manage checkpoints.
mechanism or environment variable, depending on that client's MCP config.
url returned by mcp_token_issue; it will match the cloud orlocal/Self-managed control plane the agent is connected to.
For Codex, prefer an environment-backed token:
[mcp_servers.afs-workspace-name]
url = "<url-returned-by-mcp_token_issue>"
bearer_token_env_var = "AFS_WORKSPACE_TOKEN"
Call checkpoint_create before risky changes or when the user explicitly asks
for a restore point. Use a short, meaningful checkpoint name when one is given;
otherwise let the server generate one.
The plugin's MCP endpoint is configured in the plugin root .mcp.json.
Use the cloud endpoint for AFS Cloud:
"url": "https://agent-filesystem.vercel.app/mcp"
Use localhost for a local or Self-managed control plane:
"url": "http://127.0.0.1:8091/mcp"
workspace.
checkpoint.
checkpoints, and activity.
Take redis/agent-filesystem-agent-filesystem from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.