Printer Onboardingのロゴ

Printer Onboarding

コミュニティ
SouthpawIN
printer-onboarding

Bring the shared Wi-Fi scanner online via CUPS + eSCL.

概要

公開者SouthpawIN
リポジトリbot-wiki
スキル名printer-onboarding
スター
45
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SouthpawIN/bot-wiki.git /tmp/bot-wiki
mkdir -p .claude/skills
cp -r /tmp/bot-wiki/bots/pocketshop/skills/printer-onboarding .claude/skills/printer-onboarding
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Printer onboarding

One physical device serves two bots: pocketshop flatbeds cards, ssi scans documents. This skill brings it online once, proves it with a real scan, and pins the two presets so neither bot re-tunes the device mid-run.

Nothing here spends money, publishes, or sends anything external. All of it is local, and every step is reversible.

Inputs

  • Printer model and IP (or hostname). Chris supplies both; a scan that cannot name the model is a guess, and guesses here cost a reinstall.
  • Whether the box may print to it too, or scan only.

Procedure

  1. Prove the host is reachable before touching drivers. ping -c 2 <ip> then avahi-browse -rt _ipp._tcp and _uscan._tcp. No mDNS answer is normal on a segmented LAN — fall back to ipp://<ip>:631/ipp/print and http://<ip>/eSCL/ScannerCapabilities. Curling the eSCL capabilities URL returning XML is the single most useful signal that scan will work; a 404 means the model speaks WSD, not eSCL.
  2. Install the driverless path. sane-airscan (eSCL/WSD over IPP) plus cups + cups-client. Driverless beats a vendor blob: no per-model .deb, nothing to re-break on upgrade. Vendor PPD only if the capabilities XML is absent.
  3. Register the queue. lpadmin -p <name> -E -v ipp://<ip>/ipp/print -m everywhere. Then lpstat -p <name> must report idle, not "disabled".
  4. Confirm SANE sees it. scanimage -L must list the device with a airscan:e0:<name> (or escl:) URI. If SANE is blind but CUPS is fine, the split is almost always sane-airscan missing — not the network.
  5. Scan for real, both presets, and keep the files as proof.
    • Cards: scanimage -d <dev> --mode Color --resolution 600 --format=png --output-file cards/<sku>.png (600 dpi is the floor for collector-number OCR; 300 loses the number on dark borders).
    • Documents: --resolution 300 --format=pnm piped into tiffcp/img2pdf so ssi gets one multi-page PDF per document, not 40 PNGs. A scan that returns a black page means the flatbed was not initialised — re-run once before blaming the driver.
  6. Wire the card path back into the pipeline. The saved PNG goes through card_scanner.py / auto_card_processor.py (crop, deskew) exactly as if it came from a phone photo; this skill never re-implements that crop.
  7. Publish the two presets in data/scanner.json: {device, card: {dpi: 600, mode: color, out: cards/}, doc: {dpi: 300, mode: gray, out: scans/}}. Both bots read the file, so a resolution change is one edit, not two.
  8. Hand the schedule to ssi. Card batches take the flatbed in daylight hours; document scans take the evening. Neither bot may reconfigure the device (dpi, ADF, duplex) without a [BOTS] line in the fleet queue — a surprise ADF switch mid-card-batch silently crops half a card.

Verification

  • scanimage -L lists one device, lpstat -p says idle.
  • Two files exist from step 5, and both open: a card at 600 dpi with a legible collector number, a document PDF at 300 dpi with a straight edge.
  • data/scanner.json parses and names the same device URI as step 4.

Failure modes

SymptomCauseFix
scanimage -L empty, CUPS idlesane-airscan not installedinstall it, systemctl restart saned.socket
eSCL capabilities 404WSD-only firmwaresane-airscan WSD path, or vendor PPD
Scan hangs at "warming up"mDNS name resolve, not the scanuse the IP, never the .local name
PDF pages out of orderADF duplex guessforce --source Flatbed for documents
Card number unreadable300 dpi600 dpi, colour, no auto-exposure

Not this skill's job

  • Printing. If Chris wants print too, that is a second queue, not this one.
  • Picking the device's IP statically — that is a router reservation, and it should be done once so the URI in scanner.json never rots.

よくある質問

AIスキル「Printer Onboarding」では何ができますか?

Bring the shared Wi-Fi scanner online via CUPS + eSCL.

TypingMindでPrinter Onboardingを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/SouthpawIN/bot-wiki/tree/main/bots/pocketshop/skills/printer-onboardingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Printer Onboardingを使えるAIモデルはどれですか?

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

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

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

AIスキル「Printer Onboarding」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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