dot-claude
Skill4 starsChanged 6 months agoMITView on GitHub
Configure and manage Claude Code (.claude) workspace settings, permissions, and tool hooks.
In this repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- dockerSkill
- docs-reviewSkill
- docs-writerSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-issueSkill
- gh-modelsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
When working with the Anthropic Claude API or Claude documentation.
- Distinctive: line 21
When configuring generic coding standard rules instead of Claude-specific behavior.
- Very specific: line 25
Locate or Create Configuration: Ensure the .claude directory exists at the root of the project.
- Very specific: line 26
Define Permissions: Use .claude/settings.json to explicitly allow specific Bash commands to prevent Claude Code from blocking them.
- Very specific: line 32
Explicit Permissions: Instead of granting broad permissions, use precise glob patterns (e.g., Bash(uv tool *)).
- Very specific: line 34
Fail-Safe Hooks: Ensure PreToolUse hooks return appropriate exit codes (e.g., exit 2) to block destructive commands.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
dot-claude
<!-- markdownlint-disable MD013 MD023 MD031 MD032 -->When to Use
- Configuring allowed tools and bash permissions for Claude Code.
- Defining PreToolUse or PostToolUse hooks for specific commands or file edits.
- Setting up environment variables or enabling LSP plugins for Claude Code.
- Analyzing or updating the
.claude/settings.jsonworkspace configuration.
When Not to Use
- When working with the Anthropic Claude API or Claude documentation.
- When configuring generic coding standard rules instead of Claude-specific behavior.
Core Process
- Locate or Create Configuration: Ensure the
.claudedirectory exists at the root of the project. - Define Permissions: Use
.claude/settings.jsonto explicitly allow specific Bash commands to prevent Claude Code from blocking them. - Configure Hooks: Set up
PreToolUseorPostToolUsehooks insettings.jsonto enforce safety checks, trigger auto-formatting, or log activity. - Set Environment & Plugins: Enable required tools like language servers (
pyright-lsp) or specify environment variables.
Best Practices
- Explicit Permissions: Instead of granting broad permissions, use precise glob patterns (e.g.,
Bash(uv tool *)). - Hook Activity Logging: Redirect output from hooks into a specific log file like
.claude/hook-activity.logto trace tool side effects. - Fail-Safe Hooks: Ensure
PreToolUsehooks return appropriate exit codes (e.g.,exit 2) to block destructive commands.
Common Pitfalls
- JSON Syntax Errors:
settings.jsonmust be strictly valid JSON, without trailing commas or comments. - Overly Broad Matchers: Be precise with
matcherregex in hooks to avoid triggering scripts unnecessarily (e.g.,Edit|Writevs justBash).
References
- Example settings.json
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

