rag-learning-academy

rag-learning-academy is a settings file for Claude Code from TakaGoto/rag-learning-academy. Its token cost is not measured, scanned D, original, MIT.

Agent settings that define which shell commands and tools may be used, which risky actions are blocked, and which scripts run when a session starts, before tools, or when it stops.

In plain words
What is it for?
Use them to set safety permissions for a coding project, protect environment files, restrict Git operations, and run project checks at key session events.
Why use it?
They limit accidental access to secrets and destructive commands while adding checks around the agent's work.

Settings file for Claude Code

One of 4 entries in settings.json — they are configured in one file and arrive together.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add settings/takagoto/rag-learning-academy/settings
Clone the repo
git clone --depth 1 https://github.com/TakaGoto/rag-learning-academy

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rag-learning-academy

README.md
[![agentmods](https://agentmods.dev/badge/settings/takagoto/rag-learning-academy/settings.svg)](https://agentmods.dev/settings/takagoto/rag-learning-academy/settings)
Your own site
<a href="https://agentmods.dev/settings/takagoto/rag-learning-academy/settings"><img src="https://agentmods.dev/badge/settings/takagoto/rag-learning-academy/settings.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan D 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade D, and why

rag-learning-academy scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

"Bash(sudo *)",

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

"Bash(rm -rf *)",
.claude/settings.json · 79 lines

What it actually says

{
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
  "permissions": {
    "allow": [
      "Bash(git status*)",
      "Bash(git diff*)",
      "Bash(git log*)",
      "Bash(git branch*)",
      "Bash(python *)",
      "Bash(python3 *)",
      "Bash(pytest*)",
      "Bash(pip install*)",
      "Bash(pip3 install*)",
      "Bash(ls*)",
      "Bash(jq*)"
    ],
    "deny": [
      "Bash(sudo *)",
      "Bash(chmod *)",
      "Bash(rm -rf *)",
      "Bash(git push --force*)",
      "Bash(git push -f*)",
      "Bash(git reset --hard*)",
      "Bash(cat .env*)",
      "Bash(less .env*)",
      "Bash(more .env*)",
      "Read(.env*)"
    ]
  },
  "hooks": {
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/session-start.sh",
            "timeout": 10000
          }
        ]
      },
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/check-freshness.sh",
            "timeout": 10000
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/validate-code.sh",
            "timeout": 5000
          }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/session-stop.sh",
            "timeout": 5000
          }
        ]
      }
    ]
  }
}
Same file

What else settings.json configures

This page is one entry in a file that holds 4. Installing the file brings all of them; each is measured and scanned on its own page.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 79 lines scan D 87b1aa2524e7

Subscribe to this mod's changes

rag-learning-academy is a settings file published in the GitHub repository TakaGoto/rag-learning-academy (18 stars, last pushed 5mo ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.