Meet pimprompt instruction manager

A command-line utility for managing prompt instructions and related files from multiple sources. Think of it as a package manager for AI prompts and instructions.

Why pim?

Instructions as Code

Define your instructions once in a dedicated repository, then reuse them across multiple projects. Keep your AI prompts version-controlled, reviewable, and maintainable just like your code.

Modular Instruction Management

Split large instruction files into smaller, focused components. pim automatically merges and concatenates them into a single file, making complex prompt systems easier to maintain.

Subscribe to External Prompt Libraries

Pull instructions and prompts from external repositories like github/awesome-copilot. Stay up-to-date with community best practices and organizational standards.

Enterprise Governance

Perfect for organizations managing multiple repositories. Centralize prompt governance, ensure consistency across teams, and maintain compliance with organizational standards.

Works With All Major AI Coding Tools

PIM is compatible with all major AI coding assistants, making it the perfect solution for managing prompts and instructions across your entire development workflow.

Claude Code

GitHub Copilot

Gemini

And More

Use Cases

Reusable Instructions Across Projects

Create a central repository of prompts and reuse them across multiple projects. Define organization-wide standards once and distribute them to all teams.

# In each project's pim.yaml
version: 1

sources:
  - name: org-prompts
    url: github.com/myorg/ai-prompts

targets:
  - name: copilot-instructions
    output: .github/copilot-instructions.md
    include:
      - "@org-prompts/prompts/code-review.md"
      - "@org-prompts/prompts/documentation.md"

Modular Instruction Files

Split complex instructions into maintainable components that PIM merges automatically. Keep your prompts organized and easy to update.

version: 1

targets:
  - name: combined-instructions
    output: .github/copilot-instructions.md
    include:
      - "instructions/base-rules.md"
      - "instructions/coding-style.md"
      - "instructions/security-guidelines.md"
      - "instructions/project-specific.md"

Multi-Repo Governance

Ensure consistent AI behavior across organizational repositories. Maintain security requirements, code standards, and compliance guidelines in one place.

version: 1

sources:
  - name: governance
    url: github.com/myorg/ai-governance

targets:
  - name: copilot-setup
    output: .github/copilot-instructions.md
    include:
      - "@governance/governance/security-requirements.md"
      - "@governance/governance/code-standards.md"
      - "@governance/governance/compliance.md"
      - ".github/team-guidelines.md"

quick start

1. install pim

> brew install hubblew/tap/pim # macOS
Or, download the binary from the releases page

2. create instruction files

Create a directory and add your prompt files:

mkdir -p prompts
echo "You are a helpful coding assistant." > prompts/system.txt
echo "Always write clean, well-documented code." > prompts/user.txt

3. create configuration

Create a pim.yaml file:

version: 1

targets:
  - name: prompts
    output: .github/copilot-instructions.md
    include:
      - "prompts/system.txt"
      - "prompts/user.txt"

4. run pim

pim install .

Ready to Manage Your LLM Prompts Like Code?

Start using pim to version-control, share, and maintain your AI prompts across projects.