# Repository Briefing: pedrohcgs/claude-code-my-workflow
> Source: https://repoforai.com/repo/pedrohcgs/claude-code-my-workflow (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/pedrohcgs/claude-code-my-workflow
- **Official Docs / Website**: https://psantanna.com/claude-code-my-workflow/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: HTML
- **License**: MIT
- **Engineering Health**: A+ (96/100 · Maintenance 31/35 · Adoption 25/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.9.2 (2026-11-07) — https://github.com/pedrohcgs/claude-code-my-workflow/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: CLI
- **Momentum**: 1,760 ★ total (+2 24h / +20 7d) · 3,168 forks
- **Topics**: `academic-writing`, `causal-inference`, `claude-code`, `claude-code-skills`, `econometrics`, `economics`, `latex`, `quarto`, `reproducible-research`, `research-workflow`, `agent-skills`, `codex`
- **When to Use**: Best for: Research groups and instructors who want versioned agent workflows for manuscripts, analysis, and teaching materials, with repeatable review and commit checks. Skip if: You need a standalone MCP endpoint, an offline inference stack, identical safeguards across clients, or only a lightweight set of coding instructions.

## Overview
```text
### Architecture & Core Mechanics
This is a project-local workflow template, not a demonstrated MCP server. Its primary entry point is `claude` in the checkout. `CLAUDE.md` and `.claude/` define project policy, skills, specialist agents, and hooks; Python 3 and Git support local validation and commit checks. For ambiguous work, Contractor Mode turns the goal into prioritized requirements before handing off to a skill that implements, reviews, corrects, and re-verifies the artifact.

Portability is at the instruction layer: generated wrappers in `.agents/skills/` point to `.claude/skills/`, with `AGENTS.md` as the entry point for Codex and Antigravity. Skills that depend on independent reviewers, such as `/review-paper --peer` and `/verify-claims`, remain Claude-only, as do Claude-specific management skills. Other clients do not inherit Claude Code's deny rules or in-session hooks; installed Git checks and CI remain separate enforcement points.

### Key Capabilities & Differentiators
The template covers manuscript and literature review, R/Stata/Python analysis workflows, and Beamer and Quarto teaching artifacts. Its 18 specialist roles include slide, pedagogy, R, and manuscript reviewers. Slide QA can run specialists in parallel, while the critic–fixer workflow stops after two consecutive rounds without a new issue, with a five-round cap. Claude Code guidance distinguishes Fable, Opus, Sonnet, and Haiku tiers and uses `/effort` to tune cost against review depth; provider-dependent aliases are maintained separately.

Verification has distinct layers. `/verify-claims` uses a fresh-context reviewer and withholds verified status on HIGH-WARN findings. `/audit-reproducibility` traces manuscript numbers back to script outputs and tracks claim status in `passport.yaml`. `scripts/backtest.sh` runs 11 repository checks, including skill integrity, documentation drift, hook coverage, and portability. The scoring workflow uses 80 for commits and 90 for PRs, with 95 as an aspirational target; these scores do not replace evidence checks.

### Trade-offs & Limitations
Compared with a plain `CLAUDE.md` plus CI, this template supplies research-specific review roles, claim tracking, and artifact checks out of the box, at the cost of more configuration and more model work as review depth grows. Local runtime sizing is driven by the analysis and rendering jobs, not by a specified GPU or VRAM floor. The payoff is greatest for teams that will reuse the same review and reproducibility checks across projects.

Treat the scores and permissions as workflow controls, not as a sandbox or proof of research correctness. The installed Git hook enforces the commit threshold by default but can be bypassed; `/commit` does not consume `/verify-claims` verdicts. Where auto mode is unavailable, broad allow rules permit routine shell and file operations within the limits of explicit denies. The template does not enable the optional outside-working-directory write block, and other agents do not inherit Claude Code's permission controls. Review these defaults before using the template around sensitive data.

### Hardware & Deployment Guide
Install Claude Code, Git, and Python 3 for the primary workflow, then run `./scripts/validate-setup.sh` from the checkout. The Beamer and Quarto demos additionally require XeLaTeX and Quarto, respectively; neither is needed for text or code-only workflows. R and GitHub CLI are recommended. Run `./scripts/install-hooks.sh` to enable the version-controlled pre-commit hook. For unpublished research, create a private repository from the template rather than publicly forking it.

Release v2.9.1 removed per-Bash guard hooks in favor of Claude Code deny rules for destructive Git operations and retained command-specific checks for merge/pull/rebase and `gh`. The `gh` guard blocks on failure on supported Claude Code versions, so a missing `python3` can block `gh` without blocking ordinary Bash, Edit, and Write operations. v2.9.2 fixes compaction, `/commit`, `/verify`, and pre-commit behavior without a migration. This is a local CLI and repository-checking setup; no server container or offline inference backend is specified.
```

## Key Capabilities
```text
- Skill portability: Generated `.agents/skills/` wrappers reuse `.claude/skills/` instructions for workflows a single agent can complete.
- Specialist review: Eighteen defined roles cover tasks such as slide layout, pedagogy, R code review, and manuscript refereeing.
- Critic–fixer loop: Review ends after two consecutive rounds without a new finding, with five rounds as the fallback cap.
- Executable gates: `scripts/backtest.sh` runs 11 checkers; the optional Git hook adds an 80-point commit threshold, and CI runs the full suite.
- Replication tracking: `passport.yaml` records per-claim status as PASS, FAIL, STALE, or UNVERIFIED.
- Context persistence: PreCompact saves a session snapshot; shared lessons live in committed `MEMORY.md`, separate from machine-local auto memory.
```

## Quick Start / Clone
```bash
# Fork this repo on GitHub (click "Fork" on the repo page), then:
git clone https://github.com/YOUR_USERNAME/claude-code-my-workflow.git my-project
cd my-project
./scripts/validate-setup.sh        # reports missing tools with install links
```
