plugin-development SKILL.md skillA

plugin-development from gptme/gptme-contrib is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gptme/gptme-contrib/plugin-development@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gptme/gptme-contrib
Path
skills/plugin-development/SKILL.md
Versions recorded
4
Latest version
v1.0.0, committed Jun 5, 2026
First version recorded
Dec 26, 2025
Size
7,584 bytes
Repository stars
15
License
MIT

Guide to creating gptme plugins with tools, hooks, and commands — covers ToolSpec, lifecycle hooks, custom /commands, testing, and pyproject.toml setup.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# gptme Plugin Development

**Description:** Guide to creating gptme plugins with tools, hooks, and commands.

## When to Use Plugins vs Skills/Lessons

| Need | Use | Why |
|------|-----|-----|
| Share knowledge/workflows | Skills/Lessons | Lightweight bundles, no runtime |
| Custom tools (new actions) | Plugins | Extend capabilities via Python |
| Runtime hooks (lifecycle) | Plugins | Deep integration with gptme |
| Custom commands (/cmd) | Plugins | Add CLI commands |

## Plugin Structure

```tree
my_plugin/
├── pyproject.toml           # Package metadata + dependencies
├── README.md                # Documentation
├── src/
│   └── gptme_my_plugin/    # Package name
│       ├── __init__.py      # Simple init (avoid heavy imports)
│       └── tools/
│           └── __init__.py  # ToolSpec definitions
└── tests/
    └── test_my_plugin.py    # Tests
```

## Step-by-Step: Creating a Tool Plugin

### 1. Create pyproject.toml

```toml
[project]
name = "gptme-my-plugin"
version = "0.1.0"
description = "My custom gptme plugin"
requires-python = ">=3.10"
dependencies = [
    "gptme>=0.27.0",  # Required for ToolSpec, etc.
]

[project.optional-dependencies]
test = [
    "pytest>=8.0.0",
]
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gptme/gptme-contrib/plugin-development@sha256:6e46c2712158f5ec

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_b64omag7xwa2allr.svg)](https://markdownregistry.com/a/art_b64omag7xwa2allr)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Dec 26, 2025 and Jun 5, 2026, about one every 54 days. Its first recorded version is graded C and its latest A.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-06-05 6d0c717 7,584 BA view · diff
git:20251226.3e491dc2025-12-26 3e491dc 7,188 BC view · diff
git:20251226.cb57a1f2025-12-26 cb57a1f 7,198 BC view · diff
git:20251226.5a880f52025-12-26 5a880f5 7,002 BC view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7584 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

gptme/gptme-contrib · 15 stars · license MIT · pushed 2026-10-22 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_b64omag7xwa2allr
GET https://markdownregistry.com/api/v1/resolve?ref=gptme/gptme-contrib/plugin-development
GET https://markdownregistry.com/api/v1/blob/6e46c2712158f5ec6a23c383e850b221010ebff49f8a81555c849a7ce6276800

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from gptme/gptme-contrib

DESIGN.md@packages/gptmail/src/gptmail DESIGN.md file
gptme/gptme-contrib · packages/gptmail/src/gptmail/DESIGN.md
git:20261002.b812a00 · audit A · 15 stars
DESIGN.md@packages/gptme-dashboard DESIGN.md file
gptme/gptme-contrib · packages/gptme-dashboard/DESIGN.md
git:20260313.e78e913 · audit A · 15 stars
agent-onboarding SKILL.md skill
gptme/gptme-contrib · skills/agent-onboarding/SKILL.md · Comprehensive framework for effective gptme agent onboarding that builds user trust, communicates capabilities clearly…
v1.0.0 · audit A · 15 stars
agentic-presentation SKILL.md skill
gptme/gptme-contrib · skills/agentic-presentation/SKILL.md · Generate an offline, single-file HTML presentation from structured slide JSON. Use when turning notes, research, demos…
v0.1.0 · audit A · 15 stars
artifact-publishing SKILL.md skill
gptme/gptme-contrib · skills/artifact-publishing/SKILL.md · Workflow for publishing HTML artifacts (demos, visualizations, interactive content) to the web. Enables agents to share…
v1.0.0 · audit A · 15 stars
code-review-helper SKILL.md skill
gptme/gptme-contrib · skills/code-review-helper/SKILL.md · Systematic code review workflows with bundled utilities for analyzing code quality, detecting patterns, and providing…
v1.0.0 · audit A · 15 stars
end SKILL.md skill
gptme/gptme-contrib · skills/end/SKILL.md · Wrap up the session safely: gate on uncommitted/unpushed work and missing journal, refuse to end if anything is…
v1.0.0 · audit A · 15 stars
financial-advisor SKILL.md skill
gptme/gptme-contrib · skills/financial-advisor/SKILL.md · Calibrates LLM financial advice by gathering context in research-backed order (time horizon, debt status, emergency…
v1.0.0 · audit A · 15 stars
gptme-wrapped SKILL.md skill
gptme/gptme-contrib · skills/gptme-wrapped/SKILL.md · Analyze your gptme conversation history for insights like token usage, costs, model preferences, and usage patterns —…
v1.0.0 · audit A · 15 stars
hold-to-talk SKILL.md skill
gptme/gptme-contrib · skills/hold-to-talk/SKILL.md · Experimental single-turn voice input for gptme: capture or read audio, transcribe locally with faster-whisper, and…
v0.2.0 · audit A · 15 stars
home-assistant SKILL.md skill
gptme/gptme-contrib · skills/home-assistant/SKILL.md · Query a Home Assistant instance for presence, sensor data, calendar events, and cameras
v1.0.0 · audit A · 15 stars
html-artifact-qa SKILL.md skill
gptme/gptme-contrib · skills/html-artifact-qa/SKILL.md · Use when a user asks a complex, multi-part, or deeply technical question that benefits from interactive HTML output…
v0.1.0 · audit B · 15 stars

Every file in gptme/gptme-contrib

Browse by kind, by grade A, or by owner.