Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Lessons

Shared lessons for gptme agents. These lessons provide behavioral guidance, workflow patterns, and tool-specific knowledge that can be loaded dynamically based on context keywords.

Categories

Category Description
autonomous Autonomous operation patterns and session management
communication GitHub collaboration and professional communication patterns
concepts Core concepts and mental models
patterns Reusable behavioral patterns
social Social interaction and communication patterns
tools Tool-specific lessons (shell, git, etc.)
workflow Workflow and process lessons

Usage

Lessons are automatically loaded by gptme when conversation context matches the lesson's keywords. Configure lesson directories in your gptme.toml:

[lessons]
dirs = ["gptme-contrib/lessons"]

Lesson Format

Each lesson follows a standard format with YAML frontmatter:

---
match:
  keywords:
    - "trigger phrase"
    - "another trigger"
version: 1  # optional: increment on meaningful rewrites (content/keyword changes)
status: active  # active | automated | deprecated | archived
---

# Lesson Title

## Rule
One-sentence imperative.

## Context
When this applies.

## Pattern
Minimal correct example.

## Outcome
Benefits when followed.

See the gptme documentation for more details on creating and using lessons.