Agent skill · AI & Agents

Convex Agents Files

Handles file uploads, image attachments, and media processing in agent conversations. Use this when agents analyze images, process documents, or generate files.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill convex-agents-files-abrahamx3-hivio --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/agent/convex-agents-files-abrahamx3-hivio/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Purpose Files and images let agents understand and generate visual content. Covers uploading, storing, attaching to messages, and managing file lifecycle. ## When to Use This Skill - Users upload images for agent analysis - Agents need to process documents or files - Agents generate images with DALL-E - Building file-based workflows - Implementing file cleanup and tracking ## Upload and Store a File ```typescript import { storeFile } from "@convex-dev/agent"; export const uploadFile = action({ args: { fileData: v.string(), filename: v.string(), mimeType: v.string() }, handler: async (ctx, { fileData, filename, mimeType }) => { const bytes = Buffer.from(fileData, "base64"); const { file } = await storeFile( ctx, components.agent, new Blob([bytes], { type: mimeType }), { filename, sha256: "hash" } ); return { fileId: file.fileId, url: file.url, storageId: file.storageId, }; }, }); ``` ## Send File with Message (2-Step) Upload first, then send message with attachment: ```typescript import { saveMessage, getFile } from "@convex-dev/agent"; // Step 1: Save message with file export const submitFileQuestion = mutation({ args: { threadId: v.string(), fileId: v.string(), question: v.stri

What's inside
Steps it walks through
  1. Purpose
  2. When to Use This Skill
  3. Upload and Store a File
  4. Send File with Message (2-Step)
  5. Inline File Saving (Action Only)
  6. Generate and Save Images
  7. Key Principles
  8. Next Steps
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the Convex Agents Files skill do?

Handles file uploads, image attachments, and media processing in agent conversations. Use this when agents analyze images, process documents, or generate files.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill convex-agents-files-abrahamx3-hivio --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going