file

file is a skill for Claude Code from vibesurf-ai/claude-surf. It costs 44 tokens per session (1,481 once invoked), scanned A, original, MIT.

File management for VibeSurf, a workspace platform. It handles uploading, downloading, and listing files, but not deleting them.

In plain words
What is it for?
Use it to upload files, download them by ID or path, list all uploaded files, or browse files in a VibeSurf session.
Why use it?
It avoids manually handling file-operation requests and helps keep track of files stored in workspaces or sessions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the surf plugin — 21 skills, 1 hook shipped together

Good fit Use it to upload files, download them by ID or path, list all uploaded files, or browse files in a VibeSurf session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vibesurf-ai/claude-surf/file
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vibesurf-ai/claude-surf --skill file
Clone the repo
git clone --depth 1 https://github.com/vibesurf-ai/claude-surf

Made for: Claude Code.

Or install surf, the plugin that ships this one along with the rest of its 21 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for file

README.md
[![agentmods](https://agentmods.dev/badge/skills/vibesurf-ai/claude-surf/file/github.svg)](https://agentmods.dev/skills/vibesurf-ai/claude-surf/file)
Your own site
<a href="https://agentmods.dev/skills/vibesurf-ai/claude-surf/file"><img src="https://agentmods.dev/badge/skills/vibesurf-ai/claude-surf/file/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for file

Your own site · 80×15
<a href="https://agentmods.dev/skills/vibesurf-ai/claude-surf/file"><img src="https://agentmods.dev/badge/skills/vibesurf-ai/claude-surf/file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01481
Opus 5 $0.00022 $0.00740
Sonnet 5 $0.00009 $0.00296
Haiku 4.5 $0.00004 $0.00148

Measured 10d ago against content hash f6f9ab550934, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

file scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST "$VIBESURF_ENDPOINT/api/files/upload" \
skills/file/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

File - File Upload and Management

Overview

Manage file uploads and downloads in VibeSurf. Upload files to workspace directories, download files by ID or path, and list uploaded files.

When to Use

  • User wants to upload files to VibeSurf
  • User wants to download files from VibeSurf
  • User wants to list uploaded files
  • User wants to browse session files
  • User needs to manage file storage

API Endpoints

Base path: $VIBESURF_ENDPOINT/api/files

Action Method Endpoint Description
Upload Files POST /api/files/upload Upload files to workspace
Download File GET /api/files/download?file_id={id} Download file by ID or path
List Files GET /api/files List all uploaded files
List Session Files GET /api/files/session/{session_id} List files in a session directory

Request Examples

Upload Files

curl -X POST "$VIBESURF_ENDPOINT/api/files/upload" \
  -F "files=@/path/to/file1.pdf" \
  -F "files=@/path/to/file2.jpg" \
  -F "session_id=optional-session-id"

Response:

{
  "message": "Successfully uploaded 2 files",
  "files": [
    {
      "file_id": "uuid-string",
      "original_filename": "file1.pdf",
      "stored_filename": "file1.pdf",
      "session_id": null,
      "file_size": 12345,
      "mime_type": "application/pdf",
      "upload_time": "2026-02-08T12:00:00",
      "file_path": "/path/to/file"
    }
  ],
  "upload_directory": "/workspace/sessions/upload_files"
}

Download File by ID

curl -X GET "$VIBESURF_ENDPOINT/api/files/download?file_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  -o downloaded_file.pdf

Download File by Path (Absolute or Relative)

Using absolute path (preferred for direct file access):

curl -X GET "$VIBESURF_ENDPOINT/api/files/download?file_path=/workspace/sessions/upload_files/myfile.pdf" \
  -o downloaded_file.pdf

Using relative path from workspace:

curl -X GET "$VIBESURF_ENDPOINT/api/files/download?file_path=sessions/upload_files/myfile.pdf" \
  -o downloaded_file.pdf

Read the full file on GitHub · 203 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 203 lines · 44 tokens per session scan A f6f9ab550934

Subscribe to this mod's changes

file is a skill published in the GitHub repository vibesurf-ai/claude-surf (24 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 1,481 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

claude-automation-recommender

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what…

CherryHQ/cherry-studio · 77 tokens

skills-manager

A tool for finding, installing, and coordinating Claude Code Agent Skills. These skills are reusable instructions that add specific abilities to Claude Code.

CherryHQ/cherry-studio · 96 tokens

multitask

Coordinate multi-part work through parallel subagents when two or more workstreams can proceed independently. Use for decomposable tasks where concurrency materially reduces the critical path; skip for trivial or tightly sequential work.

GCWing/BitFun · 43 tokens

memstack-automation-n8n-workflow-builder

Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual workflow design with node mapping, data transformations, and error handling for n8n. Do NOT use for standalone webhook endpoints or cron jobs.

cwinvestments/memstack · 68 tokens

vibearound

Hand over your current coding session so the user can continue the conversation on their phone or another device via any IM channel connected to VibeAround. Use when the user says "/vibearound handover", "hand over this session", "continue on my phone", or similar session transfer requests.

jazzenchen/VibeAround · 65 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens