Skip to content

Repository files navigation

.config/agents

Agents Banner

This is my Agent Harness configuration. Tell your agent to clone it to ~/.config/agents and symlink the parts you want into your harness.

Example setup (pi-coding-agent)

  1. git clone https://github.com/vedang/agents ~/.config/agents
  2. mkdir -p ~/.pi/agent
  3. ln -s ~/.config/agents/AGENTS.md ~/.pi/agent/AGENTS.md
  4. ln -s ~/.config/agents/APPEND_SYSTEM.md ~/.pi/agent/APPEND_SYSTEM.md
  5. ln -s ~/.config/agents/pi-settings.json ~/.pi/agent/settings.json
  6. ln -s ~/.config/agents/agents ~/.pi/agent/agents
  7. ln -s ~/.config/agents/prompts ~/.pi/agent/prompts
  8. ln -s ~/.config/agents/pi-extensions ~/.pi/agent/extensions
  9. ln -s ~/.config/agents/skills ~/.pi/agent/skills

Claude Code setup

The claude/ directory holds the Claude Code surface of this harness: CLAUDE.md (symlink to the shared AGENTS.md), settings.json (Explanatory output style, notification hooks, statusline, permissions), ported subagent role cards under claude/agents/, and skills under claude/skills/ (claude-specific skills plus symlinks to the shared skills/).

See docs/install-claude.md for the symlink setup into ~/.claude, the pi→Claude surface map, and what replaces each pi package. Migration plans for my own pi extensions live in docs/claude-compat-*.md.

Current Pi runtime profile

Source of truth: pi-settings.json.

Core defaults

SettingValueNotes
defaultProviderdeepseekPrimary provider.
defaultModeldeepseek-v4-proDefault model for new sessions.
defaultThinkingLevelhighModerate reasoning by default.
steeringModeallApply steering globally.
followUpModeone-at-a-timeSequential follow-up flow.
hideThinkingBlockfalseShow thinking block.
themedarkBase default; mac-system-theme.ts can override it in interactive macOS sessions.
compaction.enabledtrueContext compaction on.
compaction.reserveTokens16384Reserved token budget.
compaction.keepRecentTokens20000Keep recent context before compacting.

Enabled models

  • zai-custom/zai-glm-4.7
  • zai-custom/glm-5-turbo
  • zai-custom/glm-5.1
  • openai-codex/gpt-5.5
  • deepseek/deepseek-v4-flash
  • deepseek/deepseek-v4-pro

Packages loaded from pi-settings.json

PackageSourcePurpose
pi-askuserquestiongit:github.com/ghoseb/pi-askuserquestionStructured multi-choice questions via ask_user_question.
pi-interactive-shellnpm:pi-interactive-shellOverlay, dispatch, and monitor workflows for interactive CLI agents.
dafny-estimationgit:github.com/unravel-team/dafny-estimationFormal specification-driven project estimation skill.
cavemangit:github.com/vedang/cavemanToken-efficient caveman response mode plus terse helper skills.
pi-boomeranggit:github.com/vedang/pi-boomerangCollapse large task context into compact summaries.
pi-custom-provider-zaigit:github.com/vedang/pi-custom-provider-zaiRegisters ZAI-hosted GLM models as custom provider models.
pi-prompt-historygit:github.com/vedang/pi-prompt-historyPrompt-history search for past session inputs.
pi-quizmegit:github.com/vedang/pi-quizmeQuiz-style recall and change-comprehension checks.
pi-ralph-loopgit:github.com/vedang/pi-ralph-loopRalph-style autonomous planning loops via /ralph commands.
pi-simplify-codegit:github.com/vedang/pi-simplify-codeRefactor/simplify changed code without changing behavior.
pi-subagentsgit:github.com/vedang/pi-subagentsSubagent execution, parallel work, and chain orchestration.
visual-explainergit:github.com/vedang/visual-explainerGenerate self-contained HTML visual explainers.
pi-read-mapgit:github.com/Whamp/pi-read-mapBetter large-file reads with structure maps.
chrome-cdp-skillgit:github.com/pasky/chrome-cdp-skillInteract with live local Chrome tabs through CDP.
pi-autoresearchgit:github.com/davebcn87/pi-autoresearchAutonomous experiment loop with metrics tracking and confidence scoring.

Repository contents

Root configuration files

FileDescription
AGENTS.mdGlobal workflow rules: jj, planning folders, tests, commits, tagref.
APPEND_SYSTEM.mdExtra system-prompt guidance layered into the harness.
pi-settings.jsonPi runtime defaults, enabled models, and package list.

agents/ role cards

FileDescription
context-builder.mdBuilds codebase context and a planner-ready meta-prompt from requirements.
multimodal.mdReads PDFs, images, and other media for implementation details.
plan-reviewer.mdCritiques plans for missing steps, bad assumptions, and risk.
planner.mdTurns scoped context into a concrete implementation plan.
researcher.mdRuns focused web research and produces a source-backed brief.
reviewer.mdReviews implementation quality and can make small follow-up fixes.
scout.mdFast codebase recon with compressed handoff context.
worker.mdGeneral-purpose implementation subagent for scoped coding work.

agents/ chain workflows

FileDescription
full-workflow.chain.mdScout → plan → review plan → implement → review. Main agent still owns tests and commits.
implement-plan.chain.mdImplement a pre-created plan, then run a review pass. Main agent still owns tests and commits.
quick-plan.chain.mdFast scout → plan workflow without a plan review pass.
scout-and-plan.chain.mdScout code, create a plan, then review the plan.

prompts/

Reusable prompt templates and operator instructions.

FileDescription
sharpen-communication.mdRewrites communication with BLUF/MECE structure and stronger phrasing.

pi-extensions/

Checked-in local runtime extensions.

FileDescription
explanatory-output-style.tsAppends explanatory-output guidance to the system prompt.
handoff.tsAdds /handoff to draft a focused prompt for a new session.
mac-system-theme.tsSyncs Pi theme with macOS light/dark appearance.
notify.tsSends terminal-native notifications when Pi is ready again.
status-line.tsDemonstrates persistent footer status updates across session turns.

skills/

Checked-in local skills in this repo.

SkillDescription
docx/Create, edit, and analyze Word .docx documents.
pdf/Extract, edit, merge, split, OCR, and otherwise process PDFs.
pptx/Read, edit, and create PowerPoint .pptx decks.
skill-creator/Create or update reusable agent skills.
xlsx/Create, edit, and validate spreadsheet outputs.

Skills provided by installed packages

These are available at runtime through packages in pi-settings.json, even though they are not stored under this repo's skills/ directory.

SkillProvided byDescription
cavemancavemanUltra-compressed communication mode for token efficiency.
caveman-commitcavemanTerse Conventional Commits helper.
caveman-helpcavemanQuick reference for caveman commands and modes.
caveman-reviewcavemanOne-line compressed code review comments.
caveman-compresscavemanCompress natural-language memory files while preserving technical content.
dafny-estimationdafny-estimationRisk-adjusted project estimation using Dafny specs.
visual-explainervisual-explainerHTML visual explainers for plans, systems, and diffs.
chrome-cdpchrome-cdp-skillInspect and interact with live local Chrome tabs.
interactive-shellpi-interactive-shellCheat sheet and workflow for launching TUI coding agents.
codex-clipi-interactive-shellCodex CLI reference material.
gpt-5-4-promptingpi-interactive-shellPrompting guidance for GPT-5.4.
codex-5-3-promptingpi-interactive-shellPrompting guidance for Codex 5.3.

About

My Agent Harness Configuration. Clone to ~/.config/agents

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages