Install any skill in seconds. Free to start, no credit card required.
Get Started Free →majiayu000/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.
Passed 22 of 22 test cases with the skill, and 7 of 22 without it.
and 17 more in the full report
15 fixed7 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
In a two-step file Q&A workflow where a mutation saves the user question with a file attachment first, what argument must be passed to thread.generateText inside the subsequent generation action?
| Checked | Without skill | With skill |
|---|---|---|
| The promptMessageId property is passed to thread.generateText. | Missed | Passed |
The instructions your model reads when the skill loads.
Files and images let agents understand and generate visual content. Covers uploading, storing, attaching to messages, and managing file lifecycle.
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,
};
},
});
test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.