Floe Pdfのロゴ

Floe Pdf

コミュニティ
JiangNanGenius
floe-pdf

PDFのネイティブ編集、領域のリフロー、画像、フォーム、注釈、OCR、検証済みのラスタ形式による墨消しに対応します。

概要

公開者JiangNanGenius
リポジトリfloe-agent
スキル名floe-pdf
スター
379
フォーク
54
同梱ファイル
2
ライセンスMPL-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    JiangNanGeniusがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Floe Pdf」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/JiangNanGenius/floe-agent/tree/main/skill-hub/sources/floe-pdf
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JiangNanGenius/floe-agent.git /tmp/floe-agent
mkdir -p .claude/skills
cp -r /tmp/floe-agent/skill-hub/sources/floe-pdf .claude/skills/floe-pdf
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFloe Pdfを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFloe Pdfを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Floe Pdfは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

PDF workbench

Follow this closed loop for PDF tasks:

  1. Inspect first: document.pdf.inspect for page count, metadata, text, and query matches before planning any edit.
  2. Render only relevant pages with document.pdf.render (single page or a spec like "1-3,5") when visual evidence is needed.
  3. Compose: document.pdf.merge (2-10 PDFs in order), document.pdf.split (extract pages "1-3,5,8-10"), document.pdf.fromImages (one image per page).
  4. Edit with document.pdf.edit: page removal, rotations, watermarks and page numbers. replaceText performs exact case-sensitive native content-stream edits, never a white cover. Existing-font replacements must fit the original bounds. For multi-object text or longer paragraphs, use operations action replaceRegion: inspect the native object inventory, pass the exact expectedObjectCount and enclosing bounds, and supply new text/fontSize. CoreText reflows and embeds searchable Unicode text; overflowing text, partial object intersections and mixed nested forms fail without saving. addText inserts a new text region. This is ordinary editing, not secure redaction.
  5. Advanced operations require expectedSHA256 from the same inspection. Coordinates are unrotated PDF points with a lower-left origin. Page operations include reorderPages (every page exactly once), cropPage (visual crop only, NOT deletion), insertBlankPage. Annotation operations add/update/remove note, freeText, markup, shapes, ink and lines; use 0-based annotationIndex from the current revision. Images support insertImage/replaceImage/removeImage with workspace imagePath, explicit bounds and expected object count for removal. Images stretch to the rectangle; keep its aspect ratio when distortion is unwanted.
  6. Forms and document structure: operations createField/setField/removeField support text, checkbox and choice fields. The existing document.pdf.fillForm provides additional AcroForm filling including radio/option lists. setMetadata updates title/author/subject/creator/keywords (empty value removes that attribute). setBookmarks replaces the top-level bookmark list. flattenAnnotations requires acceptFlattening after consent, preserves page content but removes interactivity; it is NOT secure redaction.
  7. OCR and redaction: searchableOCR uses on-device Vision and rebuilds pages with a recognized, searchable text layer; text may contain recognition errors. rasterRedact rebuilds ALL pages from fresh raster images, masking selected regions before encoding. It copies no original text streams, annotations, forms, attachments, bookmarks or signatures, and verifies image-only output. Both must be the only edit operation and require the user's explicit acceptance of rasterization (acceptRasterization=true). Current bounded workflow accepts up to 50 unrotated pages with matching media/crop boxes. Do not describe ordinary covering, cropping, password protection or flattening as secure deletion. Do not claim PKI signature validation or vector-preserving secure redaction.
  8. Credentials: output protection accepts only saved userPasswordRef/ownerPasswordRef references resolved inside the approved executor. document.pdf.unlock creates a new decrypted copy using passwordRef and verifies reopening; it requires the correct credential and PDF modification permissions, and rejects signed files. Never put plaintext passwords into tool arguments. Signed files are rejected for ordinary edits; only explicitly accepted rasterized unsigned copies are supported.
  9. Save to a new output, reopen with document.pdf.inspect and render changed pages. Existing outputs are refused, including alternate spellings that resolve to the source. Report actual output, digest/reopen evidence and remaining limits. Never silently substitute rasterization or a different editing operation after failure.
  10. Export: use document.pdf.export for real searchable text (text or page-structured json), not Word-layout conversion. Use document.pdf.render for png or jpeg page images. Empty text from scans requires the separate consented OCR workflow, never invented text.

File conversion without model rewriting

Use document.pdf.convert with file paths and a target format for Markdown, Word DOCX, HTML, RTF or text to PDF, and text PDF to those formats. Do not regenerate existing content through the model. PDF creation is paginated; PDF extraction preserves searchable text and page order, not original layout, embedded images or table structure. A scanned/image-only page fails explicitly; use the separate consented OCR workflow first. Source files remain unchanged and outputs must be new.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Floe Pdf」では何ができますか?

PDFのネイティブ編集、領域のリフロー、画像、フォーム、注釈、OCR、検証済みのラスタ形式による墨消しに対応します。

TypingMindでFloe Pdfを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Floe Pdfはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFloe Pdfをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/JiangNanGenius/floe-agent/tree/main/skill-hub/sources/floe-pdfを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Floe Pdfを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Floe Pdfで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFloe Pdfを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Floe Pdf」は無料ですか?

はい。JiangNanGeniusがMPL-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇