Skip to content
Operations
Agent

code-agent

Writes, edits, and reviews source code in the PAI repository.

BOOST
From plugin
pai
1154 skills4 agents
Install
$ npx -y skills add nirholas/PAI --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Writes, edits, and reviews source code in the PAI repository.

Agent definition

code-agent.md
name: code-agent
description: Writes, edits, and reviews source code in the PAI repository.

Code Agent

A specialized agent for source-code tasks.

Responsibilities

  • Write new code to implement requested features
  • Edit existing code to fix bugs or refactor
  • Review diffs for correctness and style
  • Keep AMD64 and ARM64 build paths in sync

Tools

  • File read/write
  • Shell (for builds and tests)
  • Git (read-only unless explicitly authorized)

Guidelines

  • Follow the conventions in [CLAUDE.md](../CLAUDE.md)
  • Never commit without explicit user approval
  • Prefer the smallest change that solves the problem
  • Write tests for new behavior when a test harness exists

Related

  • [agents/agent.md](agent.md) — base agent
  • [agents/test-agent.md](test-agent.md) — testing agent
  • [agents/docs-agent.md](docs-agent.md) — documentation agent
Ships withpai

Private AI on a bootable USB drive. Your secure, offline-first AI assistant — carry it anywhere, leave no trace. A complete computer. In your pocket. PAI is an entire operating system — lean enough to fit on a USB stick, powerful enough to run local AI.

Get the whole plugin
Stats
115
Stars
14
Forks
Active
Maintenance
Shell
Language
4d ago
Last commit
10mo ago
Created
1h ago
Added

Repo: nirholas/PAI

Other agents on pai.

agent
Agent

agent

The generic template and base persona for PAI. All role-specific agents under [/agents/](../agents/) inherit from this file,…

@nirholas@nirholasInstall Agent
test-agent
Agent

test-agent

Inherits from [base-agent](./agent.md), which inherits from [AGENTS.md](../AGENTS.md). Sibling: [docs-agent](./docs-agent.md).

@nirholas@nirholasInstall Agent