Promptminder Cliのロゴ

Promptminder Cli

コミュニティ
aircrushin
promptminder-cli

Use when running promptminder or promptminder-agent commands, setting PROMPTMINDER_TOKEN, passing --team for workspace scoping, handling JSON stderr errors like "Missing token" or HTTP 401, or using the agent wrapper with dot-notation actions and --input JSON.

概要

公開者aircrushin
リポジトリpromptMinder
スキル名promptminder-cli
スター
111
フォーク
56
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

PromptMinder CLI

Overview

promptminder is a JSON-in / JSON-out CLI for managing prompts, tags, and teams via the PromptMinder API. Every success response goes to stdout; every error goes to stderr as {"error":{"message":"...","status":null}}.

Requires Node.js ≥ 20. Install the CLI first:

bash
npm i -g @aircrushin/promptminder-cli

To update, run npm i -g @aircrushin/promptminder-cli@latest; check the installed version with npm list -g @aircrushin/promptminder-cli --depth=0.

Auth and Token

Choose environment auth or local login; either is sufficient. An old PROMPTMINDER_TOKEN overrides a newly saved login.

Token resolution order: --token flag -> PROMPTMINDER_TOKEN env var -> saved config.

bash
# One-time interactive login (saves token to ~/.promptminder/config.json)
promptminder auth login --token pm_xxx

# CI / scripts: prefer env var, no saved state needed
export PROMPTMINDER_TOKEN=pm_xxx
promptminder prompt list

promptminder auth logout removes only the saved token, not PROMPTMINDER_TOKEN.

Quick Reference

text
promptminder auth login --token <token>
promptminder team list
promptminder prompt list   [--team <id>] [--tag <tag>] [--search <text>] [--page <n>] [--limit <n>]
promptminder prompt get    <id> [--team <id>]
promptminder prompt create --title <text> --content <text> [--description <text>] [--tags <csv>] [--version <text>] [--team <id>]
promptminder prompt update <id> [--title <text>] [--content <text>] [--team <id>]
promptminder prompt delete <id> --yes [--team <id>]
promptminder tag list      [--team <id>] [--include-public <true|false>]
promptminder tag create    --name <text> [--team <id>]
promptminder tag update    <id> --name <text> [--team <id>]
promptminder tag delete    <id> --yes [--team <id>]

Run promptminder help for up-to-date full usage.

Team Scoping

Pass --team <uuid> to target a non-personal workspace. Omitting --team targets the personal workspace. The flag is always --team, never --team-id.

bash
promptminder prompt list --team team-uuid-xyz

Content Input Sources

prompt create and prompt update accept content three ways - use exactly one:

FlagWhen to use
--content "..."Inline short text
--content-file path/to/file.txtContent from a local file
--stdinPipe content from another command

Agent Wrapper (promptminder-agent)

Use promptminder-agent in scripts and AI agent pipelines. Actions use dot notation, not space-separated subcommands. Input is a single --input JSON object, not individual flags.

bash
# List prompts
promptminder-agent prompt.list

# Get a specific prompt
promptminder-agent prompt.get --input '{"id":"prompt-id"}'

# Create a prompt in a team
promptminder-agent prompt.create --input '{"title":"SQL helper","content":"Write clean SQL","team":"team-uuid"}'

# Pipe JSON from a file
cat payload.json | promptminder-agent prompt.create --stdin

Available actions: team.list, prompt.list, prompt.get, prompt.create, prompt.update, prompt.delete, tag.list, tag.create, tag.update, tag.delete.

Run promptminder-agent help for the full list with input field requirements.

Workspace Skill packages (0.2.0, unreleased)

As of 2026-09-10, npm latest is 0.1.3. Check promptminder help before using the following repository-only 0.2.0 commands; do not assume a public npm installation supports them.

Singular skill manages workspace packages; plural skills manages the bundled CLI instruction skill.

text
promptminder skill list [--team <id>] [--search <text>]
promptminder skill get <id> [--team <id>] [--version <label>]
promptminder skill import <directory> [--team <id>] [--version <label>]
promptminder skill update <id> <directory> [--team <id>] [--version <new-label>]
promptminder skill install <id> [--team <id>] [--version <label>] [--target codex] [--out-dir <directory>]

Agent actions: skill.list, skill.get, skill.import, skill.update, skill.install. Use id for get/update/install and directory for import/update in the JSON input; scope with team.

bash
promptminder-agent skill.install --input '{"id":"<prompt-id>","team":"<team-id>","out-dir":"./reviewed-skills"}'

Omit --team for personal scope. IDs identify saved snapshots; --version selects a label in the same lineage. Team proposals must be approved before installation. Packages require SKILL.md with name and description, at most 200 files and 2 MB total. Installation defaults to project .cursor/skills, never runs package scripts, and refuses overwrites even with --force; choose a new --out-dir instead.

Error Triage

Stderr messageCauseFix
Missing token. Pass --token or run promptminder auth login.No token foundSet PROMPTMINDER_TOKEN or run auth login
HTTP 401Token invalid or expiredUpdate the active token source; check for an old PROMPTMINDER_TOKEN overriding saved login
Destructive commands require --yesDelete without confirmation flagAdd --yes
Use only one of --content, --content-file, or --stdinMultiple content sourcesKeep only one

Common Mistakes

  • Wrong agent wrapper syntax: promptminder-agent prompt list fails - use promptminder-agent prompt.list (dot notation).
  • Wrong team flag: --team-id does not exist - use --team <uuid>.
  • Piping with jq: pipe promptminder prompt list | jq . - stdout is always JSON.
  • Token in CI: prefer PROMPTMINDER_TOKEN env var; avoid checking in the token or running interactive auth login in pipelines.

よくある質問

AIスキル「Promptminder Cli」では何ができますか?

Use when running promptminder or promptminder-agent commands, setting PROMPTMINDER_TOKEN, passing --team for workspace scoping, handling JSON stderr errors like "Missing token" or HTTP 401, or using the agent wrapper with dot-notation actions and --input JSON.

TypingMindでPromptminder Cliを使うメリットは何ですか?

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

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

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

Promptminder Cliを使えるAIモデルはどれですか?

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

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

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

AIスキル「Promptminder Cli」は無料ですか?

aircrushinがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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