Espalier Engineering

Reads your codebase's real conventions, encodes them as rules, skills and hooks, and makes AI coders fit your repo on the first try.

Stars
★ 69
Last updated
1mo ago
FARS reviewed
Nov 24, 2026
License
MIT
Primary language
Shell

At a glance

How it runs
Agent plugin / skill
Works with
Portable with changesCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Claude Code, OpenAI Codex, or GitHub Copilot host agentGitBashShell / CLINetwork accessLocal filesystem
Typical use
Multi-developer repos with real but unwritten conventions: you want AI-generated code to land on the existing style instead of burning three to five rework rounds per request.
Not a fit if
  • Throwaway prototypes and single-file scripts where consistency doesn't matter
  • Solo projects where convention consistency is not a priority
  • Teams unwilling to pay for a coding-agent subscription plus per-run model costs
Website
junhanliu-dev.github.io ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-20

What does this agent do, and when should you use it?

Espalier Engineering is a Claude Code plugin — with documented wiring for OpenAI Codex and GitHub Copilot — that starts by reading your repository rather than writing to it: parallel scout agents extract the conventions nobody ever wrote down. A one-time /espalier-init generates a project-local espalier/ tree containing always-loaded rules, phase-loaded skills, sub-agent definitions (harness-coder, harness-reviewer, harness-security), a wiki, hooks, maps and a changes/ audit trail, then wires it into the host agent through .claude/ symlinks plus settings hooks, AGENTS.md plus .codex/, or copilot-instructions.md plus .github/. Every later change runs a gated pipeline in which a coder agent writes and a separate reviewer agent with a read-only tool set checks the work against the same rules, joined by a security auditor on trust boundaries, with pre-push hooks blocking pushes that skip the gates. Runs are recorded per requirement in espalier/changes/, pull requests are split into a code PR and an espalier PR, drift detection flags documentation the code has outgrown, and refreshes stay gated. It is MIT-licensed and the software is free; model usage is billed to your own host agent.

The entry point is /espalier-init: parallel scout agents read the codebase and extract coding standards, security and production conventions, then it emits an espalier/ directory tree — rules/ (always loaded), skills/ (the /espalier, /espalier-fix, /espalier-ask and other pipelines), agents/ (harness-coder, harness-reviewer, harness-security), wiki/ (architecture, data models, critical paths), hooks/ (layer checks, pre-push, drift detect), maps/ (multi-session decision maps) and changes/ (one typed audit folder per requirement) — and wires that tree into the host platform: Claude Code via .claude/ symlinks and settings hooks, OpenAI Codex via repo skills, an AGENTS.md section and .codex/ agents and hooks, GitHub Copilot via Agent Skills, copilot-instructions.md and .github/ agents and hooks. Day to day, /espalier <feature> runs a 10-stage pipeline: grilled requirements, your explicit approval, code, independent review, tests, gated push. /espalier-fix is a slimmer bug lane that auto-links each fix to the change that caused it; /espalier-ask answers questions read-only with every claim sourced; /espalier-audit runs a repo-wide security audit of existing code; /espalier-simplify performs an evidence-first simplification survey; /espalier-map and /espalier-maprun turn work bigger than one session into a decision map executed by headless workers in isolated worktrees. On the delivery side, espalier-pr.sh projects records into a separate espalier PR from a temp worktree, pre-push-gate.sh enforces the gates, and espalier-stats.sh prints the ceiling ledger; /espalier-doctor and /espalier-prune handle documentation drift with gated refreshes, /espalier-migrate upgrades an existing install, and /espalier-repot moves an install between the project repo and a sibling espalier-main/<project>/ folder.

  1. Multi-developer repos with real but unwritten conventions: you want AI-generated code to land on the existing style instead of burning three to five rework rounds per request.
  2. Long-lived product repos where every requirement needs requirement grilling, review, tests and a push gate, plus a traceable change audit trail.
  3. Teams running Claude Code, Codex and GitHub Copilot side by side and wanting one set of rules and gates across all three.
  4. Engineers onboarding onto an unfamiliar codebase who need sourced, code-verified answers about architecture and critical paths via /espalier-ask.
  5. Maintainers cleaning up existing code: /espalier-audit for a security sweep and /espalier-simplify to turn proven cuts into refactor changes the pipeline runs.
  6. Security- or compliance-sensitive repos that need a separate read-only reviewer plus a security auditor, and hooks rather than prompt instructions stopping gate-skipping pushes.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Config files
~/.claude/skills/espalier-init ~/.agents/skills ~/.agents/skills/espalier-init ~/.agents/skills/espalier-migrate ~/.copilot/skills

How do you install or deploy this agent?

Prerequisites: an installed and authenticated Claude Code (or Codex / GitHub Copilot) plus git. The README's preferred path is the plugin marketplace, followed by one initialization per repo:

/plugin marketplace add Junhanliu-dev/espalier-engineering
/plugin install espalier-engineering@espalier-engineering
/espalier-init

Without the marketplace, clone the repo and symlink the espalier-init skill into your user-level skills directory; restart Claude Code afterwards and update later with git pull:

# Manual git clone + symlink (Claude Code)
git clone https://github.com/Junhanliu-dev/espalier-engineering ~/repos/espalier-engineering
ln -sfn ~/repos/espalier-engineering/skills/espalier-init ~/.claude/skills/espalier-init

For a single project, link into the project's own .claude/skills instead:

# Project-scoped install
mkdir -p .claude/skills
ln -sfn /path/to/espalier-engineering/skills/espalier-init .claude/skills/espalier-init

OpenAI Codex users link the skills into ~/.agents/skills, restart Codex, pick Codex (or Both) at the platform question, and run /hooks once to trust the two quality gates:

# Codex (OpenAI)
git clone https://github.com/Junhanliu-dev/espalier-engineering ~/repos/espalier-engineering
mkdir -p ~/.agents/skills
ln -sfn ~/repos/espalier-engineering/skills/espalier-init    ~/.agents/skills/espalier-init
ln -sfn ~/repos/espalier-engineering/skills/espalier-migrate ~/.agents/skills/espalier-migrate

GitHub Copilot users link the same skills into ~/.copilot/skills:

# GitHub Copilot
git clone https://github.com/Junhanliu-dev/espalier-engineering ~/repos/espalier-engineering
mkdir -p ~/.copilot/skills
ln -sfn ~/repos/espalier-engineering/skills/espalier-init    ~/.copilot/skills/espalier-init
ln -sfn ~/repos/espalier-engineering/skills/espalier-migrate ~/.copilot/skills/espalier-migrate

If init already ran from Claude Code and you only want to add Codex wiring without redoing discovery:

bash ~/repos/espalier-engineering/scripts/bootstrap-espalier.sh \
  --wire-only --platforms=codex \
  --plugin-dir=~/repos/espalier-engineering/skills/espalier-init --yes

Init takes roughly 10–15 minutes per repo and costs about $2–5 in model usage on a medium repository.

How do you use this agent?

Run the one-time setup at the repo root and answer the platform question (Claude Code / Codex / Both, and Copilot where relevant). Then invoke the main pipeline for a feature:

/espalier-init

The full run is ten stages — grilled requirements, your explicit sign-off, code, independent review, tests, gated push:

/espalier <feature>

When you want the agents to do the work but keep every commit yourself, add --simple: the run stops after review and tests with nothing committed, no PR and no records; working files sit in a gitignored espalier/.simple/<slug>/ that is deleted once you approve, and a dirty tree at start is refused.

/espalier --simple <feature>

Other commands as needed: /espalier-fix <bug> for the bug lane with automatic causal links; /espalier-ask <question> for read-only, source-cited answers verified against the code; /espalier-audit and /espalier-simplify for existing code; /espalier-map and /espalier-maprun for work spanning sessions; /espalier-doctor and /espalier-prune for documentation drift; /espalier-migrate to upgrade an install; /espalier-repot to move an install out of or back into the project repo. In Codex the prefix is $ (for example $espalier, $espalier-fix); in Copilot use the documented command names. To keep every espalier file out of the project repo, run /espalier-init --outside, which places the tree in a sibling espalier-main/<project>/ with its own local git.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • sensitive-data handling — Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
  • dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.

What are this agent's strengths and limitations?

Pros
  • Conventions are discovered from the code itself: parallel scout agents extract patterns already present instead of imposing templates, so the rules match the repo as it actually is.
  • Execution and judgment are separated by construction — harness-coder writes, a different agent with a read-only tool set reviews, and harness-security joins on trust boundaries, so review is never self-review.
  • Gates are programmatic: pre-push-gate.sh and espalier-pr.sh block pushes that skip them at the git layer rather than relying on prompt instructions.
  • Platform-neutral core: one espalier/ tree wires into Claude Code, OpenAI Codex and GitHub Copilot at once, and adding a platform later is a re-wire that leaves existing wiring intact.
  • Strong traceability: espalier/changes/ keeps one typed audit folder per requirement, fixes auto-link back to the change that caused them, espalier-stats.sh prints a ceiling ledger, and drift refreshes are gated rather than silent.
  • MIT-licensed and free, with opting-out paths (--outside, --simple) for repos that cannot carry the extra directory or the commits.
Limitations
  • Requires a paid host agent subscription (Claude Code, Codex or Copilot) plus roughly $2–5 of model spend for init, and continuing token cost on every pipeline run.
  • Setup takes 10–15 minutes per repo and the pipeline itself is heavy: the README quotes about 37 model turns per coder spawn.
  • Everything is delivered as host-agent slash commands and hooks; no standalone CLI or HTTP API is documented for CI-only use.
  • By default it writes an entire espalier/ tree and .claude/settings hooks into the repo; keeping it out means --outside, a sibling local git repo and an excluded symlink to manage.
  • Platform coverage is limited to the three documented hosts; other runtimes would need new wiring.
  • The project's own docs rule out prototypes, single-file scripts and solo projects where consistency does not matter, so the fit is deliberately narrow.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Espalier Engineering This agent 50 · Major gaps Agent plugin / skillFree + model costs ★ 69 1mo ago Shell Codex · Claude Code
Workflow Plugin: Claude Workflow V2 47 · Major gaps Agent plugin / skillFree + model costs ★ 1.4k 1mo ago Python Claude Code
Suede Skills 64 · Some gaps — ★ 121 2d ago JavaScript Codex · Claude Code
Harmonist 67 · Some gaps CLIFree + model costs ★ 2.1k 5mo ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
50/ 100 5-point scale 2.5 / 5
Trust 8/29
Reliability 5/14
Adaptability 12/18
Convention 13/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

The evidence shows the product writes into the target project, creates symlinks, modifies .claude/settings.json, and installs a git hook; SECURITY.md acknowledges these behaviors. However, there is no least-privilege design, permission inventory, or pre-install confirmation, so least_privilege is 1. The pipeline emphasizes approval gates and explicit sign-off, giving user_confirmation 2, but confirmation for settings/hook installation is not described. Data-flow transparency only covers token cost, not how source code is sent to models or third parties, so it is 1. Sensitive-data handling is absent, scoring 0. There is no dependency manifest, lockfile, or dependency audit, and SECURITY.md explicitly excludes dependency issues, so dependency_security is 0. External effects are documented but no rollback or uninstall path is provided, giving external_effects and rollback 1 each. Only the ponytail transplant is attributed; there is no complete third-party notice, so source_attribution is 1.

Reliability5 / 14 · 1.8/5

Version 0.30.0 is consistent across README, plugin.json, and marketplace.json, but SECURITY.md's supported-version table still lists 0.5.x, a clear self-contradiction, so self_consistency is 1. Dependency availability mentions bash, python3, git, and three platforms but provides no dependency list or version constraints, scoring 1. Failure messages have scattered evidence (exit 3, BLOCKED-ON-REQUIREMENT) but are not systematic, so failure_messages is 1.

Adaptability12 / 18 · 3.3/5

README clearly states target scenarios and a 'Skip Espalier for' list, giving audience_and_scenarios 2. Capability boundaries are described (read-only Q&A, --simple stop point, audit scope) but agent permission boundaries are not fully defined, so capability_boundaries is 2. SKILL.md provides trigger phrases and a command table, giving trigger_precision 2. Environment fit covers Claude Code, Codex, and Copilot with install paths, scoring 2.

Convention13 / 18 · 3.6/5

README is well structured with quick start, command table, and cost docs, giving information_architecture 2. Install notes are thorough, covering plugin marketplace, manual clone, project-scoped, Codex, and Copilot paths, so install_notes is 3. Naming is generally stable, but the stale SECURITY.md version table weakens naming_stability to 2. Examples exist but there is no FAQ, so examples_and_faq is 1. Known limitations are present via the 'Skip Espalier for' section and security scope, scoring 2. LICENSE is a complete MIT text, giving license 3. CHANGELOG and migration guides are referenced, but the CHANGELOG file is not in the packet, so versioning_changelog is 2. Maintenance responsibility lists an author, security contact, and response timeline, but publisher identity is unverified, so maintenance_responsibility is 2.

Effectiveness9 / 13 · 3.5/5

The product outputs rules, skills, agents, hooks, and a pipeline, which is usable in design, giving output_usability 2; no execution evidence supports a higher score. It addresses a real problem—AI-generated code not matching repository conventions—so marginal_value is 2. Cost-benefit has detailed token and USD estimate tables, scoring 2, but benefit claims such as 'typically 1 round' lack reproducible data.

Verifiability3 / 8 · 1.9/5

Key claims such as 'typically 1 round' and 'earn back within 5–10 feature requests' lack traceable sources or measurement methods, so claim_traceability is 1. Version information is cross-corroborated across plugin files but conflicts with SECURITY.md, giving cross_source_corroboration 1. README mixes marketing assertions with factual descriptions without separating inference from verified fact, so fact_inference_separation is 1.

Risks and how to mitigate them
  • Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
  • Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
  • Installation modifies .claude/settings.json and installs a git hook, but there is no described pre-install confirmation or complete uninstall/rollback path.
  • SECURITY.md's supported-version table still lists 0.5.x, clearly inconsistent with 0.30.0 in README/plugin.json, which may mislead security reporting and upgrade decisions.
  • The repository provides no dependency manifest, lockfile, or dependency audit, and SECURITY.md explicitly excludes dependency issues from its security scope.
  • It does not explain how source code is sent to models during discovery, whether sensitive information is included, or how redaction is handled.
  • Benefit claims such as 'typically 1 round' and 'earn back within 5–10 feature requests' lack reproducible measurement data.
Evidence confidence: Low Reviewed Nov 24, 2026 Reviewed revision 69759d11c07e
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/espalier-engineering.svg)](https://followagents.com/en/agents/espalier-engineering)
<a href="https://followagents.com/en/agents/espalier-engineering"><img src="https://followagents.com/badge/espalier-engineering.svg" alt="FARS review"></a>

FAQ

What does a run actually cost?
Init is quoted at roughly $2–5 on a medium repo (Opus main, Sonnet scouts, cache). Each subsequent pipeline run adds model turns billed by your host agent. The README's argument is that without Espalier every request re-discovers conventions and burns three to five review rounds, so the init cost is typically recovered within 5–10 feature requests.
Am I locked into Claude Code?
No. The generated espalier/ directory is platform-neutral and the repo documents wiring for Claude Code, OpenAI Codex and GitHub Copilot, with the same rules and gates on all three. An existing Claude Code install can add Codex with --wire-only --platforms=codex instead of re-running discovery.
What happens when the code outgrows the documentation?
Drift is handled explicitly: /espalier-doctor flags docs the code has outgrown and /espalier-prune refreshes them under a gate rather than silently. Each change's Stage 7 wiki sweep additionally reads the change's own diff against espalier/wiki/ and espalier/rules/, cites the hunk behind every patch, and never deletes.
Can I keep espalier files entirely out of my repository?
Yes. /espalier-init --outside places the whole tree one level up in espalier-main/<project>/ with its own remote-less local git repo, reached through a locally excluded symlink, and the .claude/ wiring goes into settings.local.json and CLAUDE.local.md, so the project repo tracks no espalier bytes. /espalier-repot moves an existing install out or back in.
Is there a lighter mode that skips commits and PRs?
Yes — --simple on /espalier and /espalier-fix runs the grill, the spec, your approval, the coder, a reviewer-only review panel and the exit gate, then stops. The coder never runs git: nothing is committed, no PR is opened, no record is kept, and the working files live in a gitignored espalier/.simple/<slug>/ deleted on approval. A dirty tree at the start is refused so the diff never mixes with yours.
Is Espalier Engineering open source?
Yes. The source code is on GitHub (Junhanliu-dev/espalier-engineering) under the MIT licence.
Is Espalier Engineering safe to use?
FollowAgents' FARS review (Nov 24, 2026) scored Espalier Engineering 8/29 on trust and safety. The review did not find these safety controls in the source: sensitive-data handling, dependency security. Before giving it real accounts or data: Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
Is Espalier Engineering still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-20, within the last six months but not the last 30 days.
Who makes Espalier Engineering?
Espalier Engineering is published on GitHub by the account Junhanliu-dev. FollowAgents has not verified which person or company is behind that account.
What is Espalier Engineering's official website?
The project's GitHub repository lists https://junhanliu-dev.github.io/espalier-engineering/ as its website. That link is set by the repository owner; the source code itself is on GitHub (Junhanliu-dev/espalier-engineering).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts