🧠
AI EngineeringGo

Mainline

by mainline-org

Mainline is an AI Engineering skill for Claude Code, published by mainline-org in mainline.

189 stars12 forkson mainline-org/mainlineAdded 2026/09/06Repository updated 2026/08/13
agent-contextagent-memoryai-agentsai-code-reviewai-codingclaude-codecodexcoding-agentscopilotcursordeveloper-toolsgitrepo-memorysoftware-engineering
Install in seconds
Install Mainline
Copy Mainline into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/mainline-org/mainline/tree/main/skills/mainline ~/.claude/skills/mainline

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/mainline-org/mainline.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/mainline/SKILL.md in mainline-org/mainline
Installs to
~/.claude/skills/mainline
Collection
The only skill cataloged from this repository
Category
AI Engineering3278 skills

What Mainline does

Mainline records AI work intents, tracks autonomy boundaries, and links changes to commits and PR handoffs. Use it in git repos when coordinating agent edits, conflict checks, sealing, pushes, or review boundaries.

Mainline is cataloged under AI Engineering on DirSkills. Mainline comes from a repository tagged agent-context, agent-memory, ai-agents, ai-code-review and ai-coding.

Documentation

README

Mainline

This skill is the agent-facing Mainline integration. It should be sufficient even when the repository does not yet have Mainline text in AGENTS.md and when Mainline hooks are not installed.

Mainline records why AI-driven changes happen, connects those intents to code commits, and surfaces semantic conflicts before PR review. Treat it as part of the coding workflow, not as optional documentation.

If the current session already contains a mainline:context block injected by Mainline hooks, treat that hook context as already loaded. Do not re-run generic bootstrap context commands just to duplicate it. Run task-specific context commands only when needed.

Stop-Line Quick Matrix

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Mainline

  • How does Mainline compare to other AI Engineering skills?

    Mainline ranks #2944 by stars among the 3278 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Mainline against them. Open each page to compare what they document and how they install.