Token导航 LogoToken导航

Agent Skill · 研究检索

pdf-forge(PDF forge 搜索)

pdf-forge 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pdf-forge 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 53,927。

总安装 519周安装 21GitHub Stars 公开资料未说明下载 163核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pdf-forge(PDF forge 搜索)
来源仓库:https://github.com/rendis/pdf-forge
仓库路径:skills/pdf-forge
安装命令:
npx skills add https://github.com/rendis/pdf-forge --skill pdf-forge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rendis/pdf-forge --skill pdf-forge

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

pdf-forge 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。通过 npx skills add 命令从指定仓库安装,需结合 README 核验具体用法。安装前建议确认权限范围、维护状态及是否会触发联网或文件读写操作。

当前分类为研究检索,暂无更多功能说明。

来源仓库内路径:skills/pdf-forge

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rendis/pdf-forge --skill pdf-forge;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pdf-forge 怎么安装?

在终端执行 npx skills add https://github.com/rendis/pdf-forge --skill pdf-forge。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pdf-forge 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pdf-forge 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

pdf-forge 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pdf-forge 用的人多吗?

公开数据是累计安装 519 次,近一周安装 21 次,下载 163 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pdf-forge 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pdf-forge

PDF forge 搜索 · 本页

519—调用外部服务未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

pdf-forge

Use this skill when an agent needs to operate pdf-forge through MCP instead of asking the user to perform actions in the UI.

This skill is intentionally split into:

  • this file → the operational entrypoint for agents
  • reference docs → the authoritative capability and contract references

Installation

npx skills add https://github.com/rendis/pdf-forge --skill pdf-forge

What This Skill Is For

Use this skill for tasks such as:

  • discovering and calling pdf-forge APIs through MCP
  • listing templates, versions, injectables, and render endpoints
  • reading and updating contentStructure safely
  • understanding what the editor supports today without reverse-engineering the frontend
  • distinguishing between:

- what the current UI exposes - what PortableDoc / contentStructure can represent - what the Typst renderer actually renders - what is safe for agent automation today

Operating Model for Agents

This is the rule that matters:

Do not assume that “TipTap supports it” means “pdf-forge supports it end-to-end.”

Always separate these layers:

  1. UI support — what the current body/header/footer editing surfaces expose
  2. PortableDoc support — what contentStructure can legally encode
  3. Typst support — what the backend converter renders into PDF
  4. Agent-safe support — what is documented as safe for MCP automation today

If those layers disagree, be conservative.

Quick Decision Rules

SituationDefault agent behavior
UI support = No and Agent-safe = Not documented as safeDo not introduce it in new content.
PortableDoc/schema = Yes and Typst = Yes, but Agent-safe = CautionPreserve existing usage if needed, but avoid inventing new usage casually.
UI / PortableDoc / Typst / Agent-safe all alignSafe default for routine MCP automation.

MCP Proxy

This project uses mcp-openapi-proxy as the default MCP integration.

  • Repository: https://github.com/rendis/mcp-openapi-proxy
  • Install: go install github.com/rendis/mcp-openapi-proxy/cmd/mcp-openapi-proxy@latest
  • Repo config: .mcp.json (Claude Code) + .codex/config.toml (Codex)
  • Canonical MCP spec: core/docs/openapi.yaml
  • Default server name: pdf-forge
  • Default tool prefix: pf

MCP Tool Contract

The proxy does not register one MCP tool per endpoint. It always exposes exactly 3 tools:

  • pf_list_endpoints
  • pf_describe_endpoint
  • pf_call_endpoint

Recommended workflow:

  1. pf_list_endpoints → discover candidate endpoints
  2. pf_describe_endpoint → inspect the exact contract for one toolName
  3. pf_call_endpoint → execute the request with path/query/headers/cookies/body

Common toolName examples:

  • pf_get_api_v1_content_templates
  • pf_get_api_v1_content_templates_templateId_all_versions
  • pf_get_api_v1_content_templates_templateId_versions_versionId
  • pf_put_api_v1_content_templates_templateId_versions_versionId
  • pf_post_api_v1_workspace_document_types_code_render
  • pf_post_api_v1_workspace_templates_versions_versionId_render

Multi-tenant Headers

pdf-forge is multi-tenant. MCP calls often need contextual headers.

Panel routes usually require:

  • X-Tenant-ID
  • X-Workspace-ID

Render routes require:

  • X-Tenant-Code
  • X-Workspace-Code
  • X-Environment (dev or prod)

Pass them:

  • per request in pf_call_endpoint.headers, or
  • globally with MCP_EXTRA_HEADERS

Dummy auth mode skips JWT validation, but tenant/workspace headers are still required where the route expects them.

Agent-Safe Editing Rules

When editing a template version through MCP:

  1. Fetch the current version first.
  2. Treat contentStructure as the canonical document contract.
  3. Preserve unknown fields and untouched subtrees.
  4. Do read → modify → write, never blind overwrite.
  5. Validate body, header, and footer separately.
  6. Only use features documented as Supported or Partially supported / use with caution.
  7. If a feature is only known to exist in backend/schema but is not documented as agent-safe, do not introduce it casually.
  8. Preserve existing style attrs unless the task explicitly changes them. In particular, do not rewrite textStyle.color values just because they are not in your preferred format.
  9. Inline injector placeholders can carry supported text marks/styles (for example bold, italic, strike, font family, font size, and color). Preserve those marks when editing injector nodes.
  10. POST /api/v1/workspace/templates/versions/{versionId}/render does not make DRAFT versions renderable. It only renders PUBLISHED versions, plus STAGING versions when X-Environment: dev.
  11. If you need MCP render validation for a version that is still DRAFT, stage it first, then render it in dev.
  12. Do not treat a successful draft save as proof of semantic correctness; render/publish validation is stronger than draft update validation.

Before Editing a Template Version

Minimum checklist:

  1. Read template + version details
  2. Inspect the current contentStructure
  3. Confirm whether the change affects:

- body content - header content - footer content - header/footer image/layout - variableIds - pageConfig

  1. Preserve document versioning and unknown metadata
  2. Update only the intended subtree/fields
  3. Save with the version update endpoint
  4. Render or preview to validate the result

Color Contract for Agents

When editing or reviewing contentStructure styles:

  • prefer #RRGGBB / #RGB when introducing a new color manually
  • preserve existing textStyle.color values if they already exist in live content
  • do not assume stored documents are hex-only
  • expect persisted content to contain CSS color strings such as rgb(...) or rgba(...), especially when rich-text styling came from the editor
  • if a change touches color-heavy content, render after saving instead of trusting the draft update alone

For the detailed boundary and document-contract guidance, read:

Recommended MCP Workflow

1) Discover and inspect endpoints

  • pf_list_endpoints → find template/version/render operations
  • pf_describe_endpoint → inspect one contract before calling it

2) Read the document version

Typical read flow:

  1. list templates
  2. get template or all versions
  3. get version detail
  4. inspect contentStructure

3) Modify contentStructure

  • preserve the existing envelope
  • update only the relevant body/header/footer/page config subtree
  • keep variableIds consistent with the content you introduce

4) Persist

  • call the version update endpoint with the updated contentStructure

5) Validate by rendering

Use either:

  • POST /api/v1/workspace/templates/versions/{versionId}/render
  • POST /api/v1/workspace/document-types/{code}/render

Important nuance:

  • render-by-version does not validate arbitrary saved drafts; it still enforces renderable statuses
  • in practice that means PUBLISHED always, and STAGING only with X-Environment: dev
  • if your edited version is still DRAFT, stage it first before claiming MCP render validation is available

Important Validation Boundary

Saving a draft version is a storage checkpoint, not a full semantic approval step.

  • draft update success mainly means the server accepted the JSON payload
  • stronger semantic confidence comes from render/publish-oriented validation

Agents should therefore save, then render or otherwise validate before claiming the document is correct.

Canonical References

Read these before making non-trivial document edits:

Also keep these existing references handy when relevant:

Issue Routing / Escalation

When a user reports a bug, asks for a missing behavior, or requests a new capability, do not route the issue by “bug vs feature”.

Route it by ownership of the change.

Suggest pdf-forge library repo when the change belongs to core reusable behavior

Typical library-owned areas:

  • editor base behavior
  • Typst rendering / layout
  • PortableDoc / contentStructure
  • public SDK or extension-point limitations
  • generic API behavior
  • docs / skill / MCP guidance
  • bugs reproducible in a vanilla pdf-forge setup

Suggest the implementation repo when the change belongs to custom project behavior

Typical implementation-owned areas:

  • domain-specific injectors
  • WorkspaceInjectableProvider
  • RequestMapper
  • custom middleware or auth wiring
  • external integrations
  • business rules
  • project-specific configuration or extension code

Mandatory routing flow

Before suggesting or creating an issue:

  1. verify whether the behavior already exists
  2. verify whether it is a real bug/gap vs expected custom extensibility
  3. classify ownership:

- core reusable - downstream custom - ambiguous

  1. suggest the target repo
  2. only offer issue creation when the destination is clear

Conservative defaults

  • Missing domain injector by default → implementation repo
  • Generic editor/render/API/PortableDoc bug by default → pdf-forge
  • If the issue only appears with custom project code, assume implementation repo until proven otherwise
  • If the downstream repo is not known, do not invent it

When the implementation repo is unknown, explain the probable owner and ask the user for the target repo/path before creating the issue.

Issue metadata to prepare

When offering issue creation, prepare at least:

  • target repo
  • issue type (bug, feature, docs, enhancement)
  • short title
  • observed behavior
  • expected behavior
  • why this belongs to that repo
  • affected layer (editor, render, PortableDoc, MCP/docs, custom injector/provider/mapper, etc.)
  • evidence (paths, endpoint/toolName, logs, screenshots when available)

Use issue-routing.md for detailed routing rules, examples, and ambiguous cases.

Capability Summary (Short Version)

Supported today for agent workflows

  • body text content with headings 1-3
  • bold / italic / strike
  • text color, font family, font size
  • line spacing presets
  • text alignment
  • bullet and ordered lists
  • blockquote and horizontal rule
  • body images
  • conditional blocks
  • editable tables
  • table injectors and list injectors
  • header/footer text + surface image layouts
  • inline injector placeholders with supported text marks/styles

Use with caution

  • page breaks
  • image behaviors that depend on wrapping/layout details
  • features supported by renderer/schema but not clearly exposed in the current toolbar/UI

Not documented as safe by default

  • marks/nodes that exist in backend rendering but are not clearly exposed and validated as part of the current editing UX
  • any new attrs/structures invented ad hoc by the agent

Portable Document Reminder

contentStructure is not “just editor HTML”. It is a PortableDoc envelope that includes:

  • document version
  • pageConfig
  • variableIds
  • body content
  • optional header
  • optional footer
  • exportInfo

That envelope is what the backend validates and renders.

Editor Surface Reminder

The body, header, and footer are not equivalent surfaces.

  • body supports richer structures such as conditionals and tables
  • header and footer are intentionally constrained surfaces with dedicated image/layout behavior
  • header renders on the first page; footer renders on the last page

Never assume a body-safe operation is automatically safe for header/footer surfaces.

Typst Reminder

The renderer supports more nodes/marks than the current toolbar obviously exposes. That does not automatically make them safe defaults for agents.

When in doubt:

  • prefer the documented subset
  • preserve existing structures
  • render to verify

Spec Generation

mcp-openapi-proxy requires OpenAPI 3.x. This repo still generates Swagger 2.0 for Swagger UI, and make swagger converts it into core/docs/openapi.yaml for MCP.

make swagger

If you are working with local, uncommitted API changes, regenerate the spec and temporarily point MCP_SPEC to ./core/docs/openapi.yaml. The committed default config intentionally uses the GitHub raw URL from main.

平台分布

Codex

39.44%
按下载量换算64

Claude

28.74%
按下载量换算47

Cursor

17.23%
按下载量换算28

Gemini CLI

8.98%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills