~ / rigs / jmorenobl / kitlegal

jmorenobl/kitlegal

Enseña a tu asistente de IA a responder preguntas legales con el texto vigente del BOE delante y la cita exacta del artículo. Software libre para Claude Code, Codex y otros agentes.

↗ GitHub ★ 1 EUPL-1.2 updated 11d ago project Claude CodeCodex
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~12.0k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 43/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add gsc -e GSC_CREDENTIALS_PATH=YOUR_GSC_CREDENTIALS_PATH -e GSC_SKIP_OAUTH=YOUR_GSC_SKIP_OAUTH -- uvx --python '>=3.11' mcp-search-console
$ npx degit jmorenobl/kitlegal/.claude ./rig-kitlegal  # 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 gsc -e GSC_CREDENTIALS_PATH=YOUR_GSC_CREDENTIALS_PATH -e GSC_SKIP_OAUTH=YOUR_GSC_SKIP_OAUTH -- uvx --python '>=3.11' mcp-search-console
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-benchmark .claude/skills/golang-benchmark
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-cli .claude/skills/golang-cli
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-code-style .claude/skills/golang-code-style
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-concurrency .claude/skills/golang-concurrency
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-context .claude/skills/golang-context
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-continuous-integration .claude/skills/golang-continuous-integration
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-data-structures .claude/skills/golang-data-structures
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-database .claude/skills/golang-database
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-dependency-injection .claude/skills/golang-dependency-injection
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-dependency-management .claude/skills/golang-dependency-management
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-design-patterns .claude/skills/golang-design-patterns
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-documentation .claude/skills/golang-documentation
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-error-handling .claude/skills/golang-error-handling
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-google-wire .claude/skills/golang-google-wire
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-gopls .claude/skills/golang-gopls
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-graphql .claude/skills/golang-graphql
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-grpc .claude/skills/golang-grpc
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-how-to .claude/skills/golang-how-to
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-lint .claude/skills/golang-lint
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-modernize .claude/skills/golang-modernize
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-naming .claude/skills/golang-naming
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-observability .claude/skills/golang-observability
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-performance .claude/skills/golang-performance
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-pkg-go-dev .claude/skills/golang-pkg-go-dev
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-popular-libraries .claude/skills/golang-popular-libraries
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-project-layout .claude/skills/golang-project-layout
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-refactoring .claude/skills/golang-refactoring
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-safety .claude/skills/golang-safety
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-do .claude/skills/golang-samber-do
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-hot .claude/skills/golang-samber-hot
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-lo .claude/skills/golang-samber-lo
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-mo .claude/skills/golang-samber-mo
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-oops .claude/skills/golang-samber-oops
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-ro .claude/skills/golang-samber-ro
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-samber-slog .claude/skills/golang-samber-slog
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-security .claude/skills/golang-security
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-spf13-cobra .claude/skills/golang-spf13-cobra
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-spf13-viper .claude/skills/golang-spf13-viper
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-stay-updated .claude/skills/golang-stay-updated
$ npx degit jmorenobl/kitlegal/.agents/skills/golang-stretchr-testify .claude/skills/golang-stretchr-testify

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(git push)",
      "Bash(git push origin main:*)",
      "Bash(git push -u origin main:*)",
      "Bash(git push origin HEAD:main:*)",
      "Bash(git push --force:*)",
      "Bash(git push -f:*)",
      "Bash(git push --force-with-lease:*)",
      "Bash(git push --delete:*)",
      "Bash(git push -d:*)",
      "Bash(git push origin --delete:*)",
      "Bash(git push origin :*)",
      "Bash(git push --all:*)",
      "Bash(git push --mirror:*)",
      "Bash(git push --tags:*)",
      "Bash(git reset --hard:*)",
      "Bash(gh pr close:*)",
      "Bash(gh release:*)",
      "Bash(gh repo delete:*)",
      "Bash(rm -rf:*)",
      "Bash(wget:*)",
      "Bash(sudo:*)"
    ],
    "ask": [
      "Bash(gh pr merge:*)",
      "Bash(gh repo edit:*)",
      "Bash(gh api:*)",
      "Bash(git push origin v:*)",
      "Bash(curl:*)",
      "Bash(git merge:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit|NotebookEdit|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/scripts/workflow/sesion-unica.sh gancho"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
· "gsc"
env: GSC_CREDENTIALS_PATH, GSC_SKIP_OAUTH
pypi 2.5k

Skills (69)

Hooks (1)

eventmatcherruns
PreToolUseEdit|Write|MultiEdit|NotebookEdit|Bash"$CLAUDE_PROJECT_DIR"/scripts/workflow/sesion-unica.sh gancho

Plugins (1)

claude-seo@agricidaniel-claude-seo

Permissions

deny (21)
Bash(git push)
Bash(git push origin main:*)
Bash(git push -u origin main:*)
Bash(git push origin HEAD:main:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git push --force-with-lease:*)
Bash(git push --delete:*)
Bash(git push -d:*)
Bash(git push origin --delete:*)
Bash(git push origin :*)
Bash(git push --all:*)
Bash(git push --mirror:*)
Bash(git push --tags:*)
Bash(git reset --hard:*)
Bash(gh pr close:*)
Bash(gh release:*)
Bash(gh repo delete:*)
Bash(rm -rf:*)
Bash(wget:*)
Bash(sudo:*)
ask (6)
Bash(gh pr merge:*)
Bash(gh repo edit:*)
Bash(gh api:*)
Bash(git push origin v:*)
Bash(curl:*)
Bash(git merge:*)
allow (97)
Bash(./bin/kitlegal:*)
Bash(./kitlegal:*)
Bash(.specify/extensions/git/scripts/bash/*)
Bash(.specify/scripts/bash/*)
Bash(awk:*)
Bash(cat:*)
Bash(chmod:*)
Bash(cp:*)
Bash(date:*)
Bash(find:*)
Bash(gh auth status:*)
Bash(gh pr checks:*)
Bash(gh pr create:*)
Bash(gh pr diff:*)
Bash(gh pr edit:*)
Bash(gh pr list:*)
Bash(gh pr view:*)
Bash(gh run list:*)
Bash(gh run view:*)
Bash(gh run watch:*)
Bash(git:*)
Bash(gitleaks:*)
Bash(go:*)
Bash(gofmt:*)
Bash(gofumpt:*)
Bash(goimports:*)
Bash(golangci-lint:*)
Bash(goreleaser:*)
Bash(govulncheck:*)
Bash(grep:*)
Bash(head:*)
Bash(jq:*)
Bash(lefthook:*)
Bash(ln:*)
Bash(ls:*)
Bash(make:*)
Bash(mkdir:*)
Bash(mv:*)
Bash(rg:*)
Bash(rm:*)
Bash(rtk:*)
Bash(sed:*)
Bash(specify:*)
Bash(tail:*)
Bash(touch:*)
Bash(wc:*)
Edit
Glob
Grep
Read
Skill(golang-benchmark)
Skill(golang-cli)
Skill(golang-code-style)
Skill(golang-concurrency)
Skill(golang-context)
Skill(golang-continuous-integration)
Skill(golang-data-structures)
Skill(golang-database)
Skill(golang-dependency-injection)
Skill(golang-dependency-management)

Similar rigs

copied ✓