~ / rigs / EndogenAI / dogma

EndogenAI/dogma

Values ingrained, sovereignty sustained — governance framework for endogenous AI workflows

↗ GitHub ★ 2 Apache-2.0 updated 2mo ago project Claude CodeCodexCopilot
share on X
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
~101.0k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add github -e GITHUB_PERSONAL_ACCESS_<redacted> -- npx @modelcontextprotocol/server-github
$ claude mcp add dogma-governance -- uv run --extra mcp python -m mcp_server.dogma_server
$ npx degit EndogenAI/dogma/.claude ./rig-dogma  # 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.

$ claude mcp add github -e GITHUB_PERSONAL_ACCESS_<redacted> -- npx @modelcontextprotocol/server-github
$ claude mcp add dogma-governance -- uv run --extra mcp python -m mcp_server.dogma_server
$ npx degit EndogenAI/dogma/.github/skills/agent-file-authoring .claude/skills/agent-file-authoring
$ npx degit EndogenAI/dogma/.github/skills/conventional-commit .claude/skills/conventional-commit
$ npx degit EndogenAI/dogma/.github/skills/corpus-sweep .claude/skills/corpus-sweep
$ npx degit EndogenAI/dogma/.github/skills/deep-research-sprint .claude/skills/deep-research-sprint
$ npx degit EndogenAI/dogma/.github/skills/delegation-routing .claude/skills/delegation-routing
$ npx degit EndogenAI/dogma/.github/skills/phase-gate-sequence .claude/skills/phase-gate-sequence
$ npx degit EndogenAI/dogma/.github/skills/pr-review-reply .claude/skills/pr-review-reply
$ npx degit EndogenAI/dogma/.github/skills/pr-review-triage .claude/skills/pr-review-triage
$ npx degit EndogenAI/dogma/.github/skills/prompt-archaeology .claude/skills/prompt-archaeology
$ npx degit EndogenAI/dogma/.github/skills/rate-limit-resilience .claude/skills/rate-limit-resilience
$ npx degit EndogenAI/dogma/.github/skills/research-epic-planning .claude/skills/research-epic-planning
$ npx degit EndogenAI/dogma/.github/skills/secondary-research-sprint .claude/skills/secondary-research-sprint
$ npx degit EndogenAI/dogma/.github/skills/session-management .claude/skills/session-management
$ npx degit EndogenAI/dogma/.github/skills/session-retrospective .claude/skills/session-retrospective
$ npx degit EndogenAI/dogma/.github/skills/skill-authoring .claude/skills/skill-authoring
$ npx degit EndogenAI/dogma/.github/skills/source-caching .claude/skills/source-caching
$ npx degit EndogenAI/dogma/.github/skills/sprint-planning .claude/skills/sprint-planning
$ npx degit EndogenAI/dogma/.github/skills/transcript-extraction .claude/skills/transcript-extraction
$ npx degit EndogenAI/dogma/.github/skills/validate-before-commit .claude/skills/validate-before-commit
$ npx degit EndogenAI/dogma/.github/skills/workplan-scaffold .claude/skills/workplan-scaffold

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 6,974 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(~/.aws/**)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(.env)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/.env.*)",
      "Read(**/*.key)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(npm publish:*)",
      "Bash(wget *)",
      "Bash(git rebase *)",
      "Bash(gh pr merge *)",
      "Bash(git commit *)"
    ]
  }
}

MCP servers (3)

serversourceest. tokens
GitHub MCP · "github"
env: GITHUB_PERSONAL_ACCESS_TOKEN
npm 18.0k
mcp · "dogma-governance" pypi 2.5k
dogma-browser-inspector local / custom · remote 2.5k

Skills (20)

Hooks (6)

eventmatcherruns
SessionStart*uv run python scripts/prune_scratchpad.py --init 2>&1 | head -5
Stop*Before stopping, verify these phase-gate-sequence checks. Answer YES only if ALL pass, otherwise list what is failing: 1. Are there no uncommitted changes? (run: git status --porcelain) 2. Does today's scratchpad have a '## Pre-Compact Chec
PreCompact*uv run python scripts/prune_scratchpad.py --check-size 2>&1 | head -3
PreCompact*Write a '## Pre-Compact Checkpoint' section to the active scratchpad (at .tmp/<branch>/$(date +%Y-%m-%d).md) capturing: (1) active phase name and status, (2) all deliverables committed so far with commit SHAs, (3) the single next concrete s
PostCompact*Context was just compacted. Before continuing: (1) read the active scratchpad from disk: cat .tmp/<branch-slug>/$(date +%Y-%m-%d).md, (2) read the active workplan from docs/plans/ if one exists, (3) run git log --oneline -5 and git status t
SessionEnd*Session is ending. Complete these session close steps: 1. Write '## Session Summary' to the active scratchpad — include: date range, branch, PR if open, all commits (SHA + one-line desc), issues closed, lessons learned, recommended next ses

Permissions

deny (0)
—
ask (0)
—
allow (9)
Bash(uv run python scripts/*)
Bash(git status*)
Bash(git log*)
Bash(git add*)
Bash(git commit*)
Bash(git push*)
Bash(gh issue*)
Bash(gh pr*)
Bash(gh run*)

Similar rigs

copied ✓