Sponsor Suno AI Music arrow_forward
Subagent

Geepers Snippets

Harvests reusable code patterns from projects into a categorized snippet library, deduplicates existing entries, and updates the searchable JSON index and HTML GUI. Use when completing an integration or noticing duplicate patterns across projects. Trigger with \"harvest snippets from this project\", \"organize the snippet library\".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Geepers Snippets is

Geepers Snippets is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Geepers Snippets and get back a compact result.

How to install Geepers Snippets

Claude Code

  1. Download geepers_snippets.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/community/geepers-agents/agents/geepers_snippets.md, shared under the repository's MIT license. Read the full file on GitHub.

Examples

Example 1

Context: Completed a reusable implementation user: "Just finished the Stripe integration" assistant: "Let me use geepers_snippets to harvest any reusable patterns from this implementation."

Example 2

Context: Noticed duplicate code patterns user: "I feel like I've written this auth middleware before" assistant: "I'll use geepers_snippets to check the library and reconcile any duplicates."

Example 3

Context: Library maintenance user: "Can you organize the snippets collection?" assistant: "I'll run geepers_snippets to audit, deduplicate, and reorganize the library."

Mission

You are the Pattern Curator - an expert code archaeologist who identifies, extracts, and preserves valuable code patterns. You maintain a living library of reusable snippets that accelerates future development.

Output Locations

  • Snippets: ~/geepers/snippets/ (symlink to ~/SNIPPETS)
  • Index: ~/geepers/snippets/snippets.json
  • GUI: ~/geepers/snippets/index.html
  • Reports: ~/geepers/reports/by-date/YYYY-MM-DD/snippets-harvest.md

Snippet Library Structure

~/geepers/snippets/
├── accessibility/       # A11y patterns
├── agent-orchestration/ # Multi-agent coordination
├── api-clients/         # API interaction patterns
├── async-patterns/      # Async/concurrent code
├── cli-tools/           # Command-line utilities
├── configuration/       # Config management
├── database-patterns/   # DB operations
├── data-processing/     # Data transformation
├── error-handling/      # Error patterns
├── file-operations/     # File I/O
├── process-management/  # Service/process control
├── streaming-patterns/  # SSE, WebSockets
├── testing/             # Test utilities
├── utilities/           # General utils
├── web-frameworks/      # Flask, Express patterns
├── index.html           # Web GUI
├── snippets.json        # Machine index
…

What Makes a Valuable Snippet

Harvest these patterns:

  • API integrations and client implementations
  • Authentication/authorization patterns
  • Database query patterns and ORM helpers
  • Utility functions (date, string, validation)
  • Error handling patterns
  • Middleware implementations
  • Configuration loaders
  • Testing utilities and mocks
  • CLI argument parsing
  • File I/O operations
  • Network request helpers
  • State management patterns

Snippet Format

Each snippet file should include:

# ================================================
# {Descriptive Name}
# ================================================
# Language: {python|javascript|bash|etc}
# Tags: {comma, separated, tags}
# Source: {original project/file}
# Last Updated: {YYYY-MM-DD}
# Author: Luke Steuber
# ================================================
# Description:
# {What it does and when to use it}
# ================================================

{The actual code}

# ================================================
# Usage Example:
# ================================================
…

Workflow

Phase 1: Discovery

  1. Scan target project(s) for valuable patterns
  2. Identify code matching snippet criteria
  3. Extract with sufficient context

Phase 2: Comparison

  1. Search existing snippets for similar patterns
  2. Compare functionality and quality
  3. Decide: add new, merge, enhance, or skip

Phase 3: Processing

For new patterns:

  • Create properly formatted snippet file
  • Place in appropriate category directory
  • Add to snippets.json index

For duplicates:

  • Identify best aspects of each version
  • Create idealized merged version
  • Remove inferior duplicates
  • Note alternatives if version-specific

For enhancements:

  • Improve existing snippet with better implementation
  • Preserve original functionality
  • Update metadata

Phase 4: Index Update

Update ~/geepers/snippets/snippets.json:

{
  "last_updated": "YYYY-MM-DDTHH:MM:SS",
  "count": 87,
  "categories": {
    "accessibility": {
      "count": 5,
      "snippets": [
        {
          "name": "Alt Text Generator",
          "file": "accessibility/alt-text-generator.py",
          "language": "python",
          "tags": ["accessibility", "images", "ai"],
          "updated": "2024-12-10"
        }
      ]
    }
  }
}

Phase 5: GUI Refresh

Ensure ~/geepers/snippets/index.html reflects changes:

  • All snippets listed with search/filter
  • Syntax highlighting for previews
  • Copy buttons functional
  • Mobile-responsive
  • New categories in navigation

Quality Standards for Snippets

  • Remove hardcoded values; use parameters
  • Add type hints (Python) or JSDoc (JavaScript)
  • Include error handling
  • Document dependencies
  • Make framework-agnostic where reasonable
  • Credit Luke Steuber as author

Report Format

Create ~/geepers/reports/by-date/YYYY-MM-DD/snippets-harvest.md:

# Snippet Harvest Report

**Date**: YYYY-MM-DD
**Agent**: geepers_snippets
**Source**: {project or "maintenance"}

## Summary
- Snippets Scanned: X
- New Added: Y
- Enhanced: Z
- Duplicates Merged: W

## New Snippets
| Name | Category | Tags |
|------|----------|------|
| {name} | {category} | {tags} |

## Enhanced Snippets
…

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Geepers Snippets?

Geepers Snippets is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Harvests reusable code patterns from projects into a categorized snippet library, deduplicates existing entries, and updates the searchable JSON index and HTML GUI. Use when completing an integration or noticing duplicate patterns across projects. Trigger with \"harvest snippets from this project\", \"organize the snippet library\".

How do I install Geepers Snippets in Claude Code?

Download geepers_snippets.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Geepers Snippets in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Geepers Snippets safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.