maxwell2732/pAI-Econ-claude
一个帮助实证经济学家补齐理论版图的 Claude Code Skill
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit maxwell2732/pAI-Econ-claude/.claude ./rig-pai-econ-claude # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/protect-files.sh"
}
]
}
]
}
} Hooks (4)
| event | matcher | runs |
|---|---|---|
| Notification | * | "$CLAUDE_PROJECT_DIR"/.claude/hooks/notify.sh |
| PreToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/protect-files.sh |
| PreCompact | * | "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-compact.sh |
| Stop | * | python3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/log-reminder.py |
Slash commands (2)
/mode/theoretical-economics-claude-skill
Permissions
deny (0)
—
ask (0)
—
allow (36)
Bash(git status *)
Bash(git diff *)
Bash(git log *)
Bash(git branch *)
Bash(git add *)
Bash(git commit *)
Bash(git push *)
Bash(git pull *)
Bash(git fetch *)
Bash(git checkout *)
Bash(git merge *)
Bash(git stash *)
Bash(gh pr *)
Bash(gh run *)
Bash(gh api *)
Bash(gh pr list *)
Bash(gh pr view *)
Bash(gh pr merge *)
Bash(gh pr create *)
Bash(gh repo *)
Bash(python *)
Bash(python3 *)
Bash(python -m pytest *)
Bash(pip install *)
Bash(pip freeze *)
Bash(uvicorn *)
Bash(ruff *)
Bash(black *)
Bash(mypy *)
Bash(isort *)
Bash(Rscript *)
Bash(chmod *)
Bash(ls *)
Bash(wc *)
Bash(sort *)
Bash(mkdir *)
Similar rigs
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok ·
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok ·
caliber-ai-org/ai-setup
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Automator 3.2k tok ·
asklokesh/loki-mode
Autonomous software factory. Give it a GitHub issue, a spec or a one-line task; get back a pull request with a signed receipt anyone can re-check offline. Runs on your machine with your own keys: Claude, Codex, OpenCode.
Automator 8.2k tok ·