用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/run-llama/llamaparse-agent-plugins --skill llamaparse-mcp命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill whenever a question should be answered from documents stored in a LlamaCloud Index v2 knowledge base — retrieving passages, locating indexed files, or searching indexed content through the LlamaParse MCP Index v2 tools (retrieveFromIndex, findFilesInIndex, grepFileFromIndex...). Teaches agentic retrieval — navigating an index like a file system instead of one-shot RAG.
Skill on how to use the LlamaParse MCP tools
Use this skill whenever a question should be answered from documents stored in a LlamaCloud Index v2 knowledge base — retrieving passages, locating indexed files, or searching indexed content through the LlamaParse MCP Index v2 tools (retrieveFromIndex, findFilesInIndex, grepFileFromIndex...). Teaches agentic retrieval — navigating an index like a file system instead of one-shot RAG.
基于 SOC 职业分类
正在显示 SKILL.md
| name | llamaparse-mcp |
| description | Skill on how to use the LlamaParse MCP tools |
| compatibility | Needs authenticated access to https://mcp.eu.llamaindex.ai/mcp (Europe region) |
| license | MIT |
| metadata | {"author":"LlamaIndex","version":"0.1.0"} |
All tools require a valid session. If a tool call returns an authentication error, ask the user to re-authenticate before retrying. Do not retry automatically without prompting the user.
The server runs as two regional deployments — https://mcp.llamaindex.ai/mcp for accounts on cloud.llamaindex.ai, and https://mcp.eu.llamaindex.ai/mcp for accounts on cloud.eu.llamaindex.ai. Region follows the user's LlamaCloud account, so it is not something to switch mid-session. This plugin is pinned to the Europe endpoint; a token issued for North America is rejected with a 401 naming the other endpoint, and because the URL is fixed in the plugin manifest the fix is to install the llamaparse-mcp plugin instead — tell the user that rather than retrying.
Every operation (parse, classify, split) requires a fileId obtained by uploading first. There are two upload paths — choose based on where the file lives:
uploadFileByUrl. Pass the direct download URL and a descriptive file name. This is the preferred path when the user shares a link.getUploadUrl first to obtain a pre-signed upload URL and token, then POST the file to the returned endpoint. The token is valid for 10 minutes; complete the upload before it expires.For getUploadUrl, always set purpose to match the intended downstream operation ('parse', 'classify', 'split', etc.) so the server can apply the right storage policy.
Once you have a fileId, pick the tool that matches the user's goal:
| Goal | Tool |
|---|---|
| Extract text or markdown content | parseFile |
| Determine which category a document belongs to | classifyFile |
| Break a multi-section document into labeled segments | splitFile |
These are independent — you can run any combination on the same fileId.
Use parseFile to extract readable content. Choose the tier based on document complexity:
cost_effective — fast and cheap; good for standard PDFs with clean text and simple layouts.agentic — slower; use when the document has tables, multi-column layouts, or embedded images that need accurate extraction.agentic_plus — most thorough; reserve for documents where extraction quality is critical and cost/latency are acceptable.When in doubt, start with cost_effective. Escalate to agentic only if the output is missing content or has structural errors.
Set markdown: true (the default) when the extracted content will be rendered or passed to an LLM. Set it to false when you need plain text without formatting.
Use classifyFile when the user wants to route or label a document. Define categories as precisely as possible — vague category descriptions reduce confidence. Include a description that explains what distinguishes each category from the others, not just what it is.
Use splitFile when a single document contains multiple logical sections that should be handled separately (e.g., a combined PDF of multiple contracts, or a report with distinct chapters). Define categories by the sections you expect, not by generic document types.
Choose allowUncategorized based on how strict the split needs to be:
'include' (default) — unknown pages are grouped under an uncategorized segment; safe for exploratory use.'omit' — uncategorized pages are silently dropped; use when you only care about specific sections.'forbid' — the operation fails if any page cannot be categorized; use when completeness is required.Common multi-step patterns:
parseFile on each segment's pages separately (re-upload the relevant pages if needed).fileId can be passed to parseFile, classifyFile, and splitFile independently; you do not need to re-upload.The server also exposes Index v2 knowledge-base tools (getUserProjects, listIndexes, findFilesInIndex, readFileFromIndex, grepFileFromIndex, retrieveFromIndex). Their usage — the agentic-retrieval workflow, tool selection, and grounding rules — is covered by the llamacloud-index skill bundled in this plugin; consult that skill when a task involves retrieving answers from an index.
The server enforces a per-user rate limit. If you receive a rate limit error, read the Retry-After value from the response and wait that many seconds before retrying. Do not retry immediately in a loop.
uploadFileByUrl fails, check whether the URL is publicly accessible and the file type is supported.parseFile returns incomplete content, retry with a higher tier.classifyFile or splitFile time out, the job may still be running on the server — inform the user rather than re-submitting the same job immediately.