# Resumelock: resume uploads to profiles, no made-up skills

> Checks each PDF or DOCX upload, stores it in a private bucket and extracts a schema-locked draft where every skill and role needs a quote found in the text. The user confirms it; raw files are deleted on a schedule.

Resumelock: resume uploads to profiles, no made-up skills is a paid AI agent skill on Agensi by MAJI, in HR & Recruiting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [HR & Recruiting](https://www.agensi.io/skills/hr-recruiting)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/resumelock-resume-uploads-to-profiles-no-made-up-skills
- Tags: hr, security

## About this skill

Resume uploads go wrong in two ways at once. The parser adds skills the person never wrote, and the files themselves end up in a public bucket or in plain text inside your logs. Resumelock turns each PDF or DOCX upload into a profile the user confirms, where every skill and role points back to a quote that really appears in the document.

### What it does
- **Locked contract:** PDF and DOCX only, 5 MB max, a JSON Resume-like schema with no salary, date of birth, ID number, photo, religion or marital status field.
- **Private storage:** a private `resumes` bucket with size and MIME limits, per-user folder RLS and signed upload URLs straight to Storage.
- **File checks:** byte size and magic bytes verified with `file-type`; encrypted PDFs and files over 10 pages are rejected.
- **Evidence per item:** every skill, role and certificate carries a quote, and code keeps it only if that quote is found in the extracted text. Failures are dropped and counted.
- **User confirmation:** only profiles marked `confirmed_at` feed matching or CV tailoring.
- **Retention:** raw files are deleted after confirmation or after 30 days by default, through the Storage API.

### How it works
1. **Upload and validate:** signed upload URL, then size and magic-byte checks on the server.
2. **Extract text:** `unpdf` for PDF, `mammoth` for DOCX; under about 200 characters means a scan.
3. **Schema-locked extraction:** CV text labelled as untrusted data, no tools for the model.
4. **Evidence check and confirm:** substring check in code, then the user confirms.
5. **Hygiene:** logs carry counts only, a pruner deletes old files, synthetic fixtures prove it.

### Frameworks & tools
Supabase Storage with RLS, Next.js on Vercel, `unpdf`, `mammoth`, `file-type`, zod and Vitest.

### Why this beats prompting it yourself
Asking a model to "extract skills from this CV" returns whatever it infers, including tools copied from a job post or hidden prompt text. Here the keep-or-drop decision is code, the schema has no field for sensitive data, and a hidden-text injection fixture must add zero items before release.

### Use cases
- **Job search apps** turning a CV into a profile for matching.
- **Recruiting tools**, training intake and scholarship forms.

### Known limitations
Not for general OCR of scanned forms, for writing the tailored CV, or for bulk imports of other people's CVs without consent. Scanned CVs need the OCR variant with per-item confirmation. Steps are written for Supabase Storage and a Next.js server, so other stacks need their equivalents.

## Requires

- Supabase Storage
- Next.js
- unpdf
- mammoth
- file-type
- zod
- Vitest

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Resumelock: resume uploads to profiles, no made-up skills skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does it need from my project?

A server that can call your LLM provider with structured output, and file storage. The steps are written for Supabase Storage and Next.js on Vercel, and the skill asks once for anything it cannot see in your project.

### Will it estimate salary or keep date of birth from the CV?

No. The schema has no salary field (salary is asked in its own form) and no date of birth, ID number, photo, religion or marital status, even when the CV contains them.

### How is this different from asking the model to parse a resume?

The model only drafts. Code keeps an item only when its evidence quote is a substring of the extracted text, and the user confirms the profile before anything uses it.

### What is in the zip?

SKILL.md, the instructions your agent follows, and LICENSE.md.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
