ose-public: Settings file for Claude Code

.claude/settings.json

ose-public is a settings file for Claude Code from wahidyankf/ose-public. Its token cost is not measured, scanned A, original, MIT.

A project settings package that defines two hook events and which tools an agent may use, including rules for protected environment files.

In plain words
What is it for?
Use it to configure allowed and denied agent actions and connect pre-action and post-action checks.
Why use it?
It makes tool permissions and automatic checks explicit, while blocking access to selected production and staging environment files.

Settings file for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: mentions OpenCode.

This is wahidyankf/ose-public's own configuration. It tells Claude Code how to work on ose-public itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ose-public configures →

One of 3 entries in settings.json upstream. Installing this one merges just its entry into your config; the other 2 are separate, each on its own page.

Reuse

Borrowing it

Nothing to install: this file belongs to wahidyankf/ose-public. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wahidyankf/ose-public/main/.claude/settings.json
Clone the repo
git clone --depth 1 https://github.com/wahidyankf/ose-public

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 ose-public

README.md
[![agentmods](https://agentmods.dev/badge/settings/wahidyankf/ose-public/settings/github.svg)](https://agentmods.dev/settings/wahidyankf/ose-public/settings)
Your own site
<a href="https://agentmods.dev/settings/wahidyankf/ose-public/settings"><img src="https://agentmods.dev/badge/settings/wahidyankf/ose-public/settings/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ose-public

Your own site · 80×15
<a href="https://agentmods.dev/settings/wahidyankf/ose-public/settings"><img src="https://agentmods.dev/badge/settings/wahidyankf/ose-public/settings.svg" alt="Reviewed on agentmods" width="80" 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 A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

ose-public scanned grade A with 0 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/settings.json · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "permissions": {
    "allow": [
      "Read(.claude/**)",
      "Edit(.claude/**)",
      "Read(.opencode/**)",
      "Edit(.opencode/**)",
      "Edit(/tmp/**)",
      "Read(/tmp/**)",
      "Bash",
      "Bash(npm run sync\\:claude-to-opencode:*)",
      "Skill(update-config)",
      "Read(**/.env.example)",
      "Edit(**/.env.example)",
      "Read(apps/*/content/**/*.env)",
      "Edit(apps/*/content/**/*.env)"
    ],
    "deny": ["Read(**/.env.prod)", "Edit(**/.env.prod)", "Read(**/.env.stag)", "Edit(**/.env.stag)"]
  },
  "hooks": {
    "PreToolUse": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/scripts/agent-policy-hook.sh\"",
            "timeout": 30
          }
        ]
      },
      {
        "matcher": "Write|Edit|MultiEdit|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/remind-rules-propagation.sh",
            "statusMessage": "Checking repo-rules propagation reminder..."
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format-lint-markdown.sh"
          }
        ]
      }
    ]
  },
  "enabledPlugins": {
    "context7@claude-plugins-official": true,
    "frontend-design@claude-plugins-official": true,
    "gopls-lsp@claude-plugins-official": true,
    "jdtls-lsp@claude-plugins-official": true,
    "kotlin-lsp@claude-plugins-official": true,
    "lua-lsp@claude-plugins-official": true,
    "playwright@claude-plugins-official": true,
    "pyright-lsp@claude-plugins-official": true,
    "rust-analyzer-lsp@claude-plugins-official": true,
    "swift-lsp@claude-plugins-official": true,
    "typescript-lsp@claude-plugins-official": true,
    "nx@nx-claude-plugins": true
  },
  "extraKnownMarketplaces": {
    "nx-

Read the full file on GitHub · 77 lines

Same file

What else settings.json configures

This page is one entry in a file that holds 3. 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. 2d ago First seen · 77 lines scan A a564421d12b7

Subscribe to this mod's changes

ose-public is a settings file published in the GitHub repository wahidyankf/ose-public (12 stars, last pushed today), 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 A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.