Logo Promptminder Cli

Promptminder Cli

Cộng đồng
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.

Tổng quan

Nhà phát hànhaircrushin
Kho mãpromptMinder
Tên kỹ năngpromptminder-cli
Sao
111
Bản fork
56
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được aircrushin công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Promptminder Cli trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aircrushin/promptMinder/tree/main/packages/promptminder-cli/skills/promptminder-cli
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Promptminder Cli trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Promptminder Cli ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Promptminder Cli với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Promptminder Cli làm được gì?

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.

Vì sao nên dùng Promptminder Cli trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Promptminder Cli là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Promptminder Cli trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aircrushin/promptMinder/tree/main/packages/promptminder-cli/skills/promptminder-cli. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Promptminder Cli?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Promptminder Cli với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Promptminder Cli với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Promptminder Cli có miễn phí không?

Kỹ năng này được aircrushin phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇