Claude CodeClaude CodeA coding tool from Anthropic that runs in the terminal and editor inside your repository: it reads files, runs the commands it is allowed, and writes changes. You steer it with CLAUDE.md, settings, agents, commands and skills. reads and edits files and runs commands. Each action can ask you, run without asking, or be denied. PermissionsPermissionsWhat a tool or agent may do without asking you: reading files, running commands or reaching the network. Claude Code asks before anything you have not allowed, so do not approve everything without reading. decide which, so you do not waste time approving file reads and no dangerous command slips past you.
Where settings live
.claude/settings.json in the repositoryRepositoryThe project's folder with its full history in Git: code, docs and settings. It can be on your machine alone or on a platform such as GitHub, public for everyone to see or private. (team settings, committed); .claude/settings.local.json (yours for this project, not committed); ~/.claude/settings.json (yours everywhere). /permissions shows and edits the active rules.
Three kinds of rules
{
"permissions": {
"allow": ["Bash(pnpm test:*)", "Bash(git diff:*)"],
"ask": ["Bash(git push:*)"],
"deny": ["Read(./.env)", "Read(./.env.*)", "Read(./**/*.pem)"]
}
}allow runs without asking (tests, lintLintingA tool that reads code without running it and flags common mistakes, risky patterns and breaks of the project's rules, such as an unused variable. Run it on every change, so it catches what a model writes before review., reading gitGitA system that keeps the whole history of your project's files: every change, who made it and when, and lets you go back to any point and work on parallel branches. Save your work in it before asking an agent for big changes. history); ask asks every time (pushing, deployingDeploymentPutting a version of your app on servers users can reach, such as Vercel. It is best done automatically from the main branch after the checks pass, with a one-click way back to the previous version.); deny never runs, and deny wins over allow. A rule names the tool and, in parentheses, what it applies to: Bash(pnpm test:*) is every command starting with pnpm test.
Always deny
EnvironmentEnvironmentA place the app runs with its own settings: development on your machine, preview for trying things, production for users. Each has its own variables and database, so do not experiment on production. files at every level, key and certificate files such as *.pem and *.key, and commands that print the environment such as printenv. The Talqeen kit always writes these rules into settings.json.
MCP permissions
MCP toolsMCP toolA function an MCP server exposes with a name, a description and an argument schema, which the model decides when to call. It may only read or may change something, so check the ones that write before allowing them. are named in rules too. In the Talqeen kit, the read toolsTool useA model asking to run a function the app describes to it, such as a search or reading a file, with structured arguments. The app runs it and returns the result; the model runs nothing itself. of your project serverServerA computer or program that waits for requests and answers them, such as a web server returning pages or a database server. What runs on the server the user cannot see, so secrets and checks belong there. run without asking; write tools such as updating a task or closing a phasePhaseA small, complete slice of the project you can run, at most five workdays or eight tasks, with a definition of done. Phase zero is setup. ask every time, and so does generating a promptPromptThe text you give a model to work on, from a short question to long instructions with a role, context, examples and a required format. The quality of the output follows the clarity of the prompt more than its length., since it may use your quotaQuotaA limit on the number of requests or tokens in a given period, protecting against unexpected cost and abuse. The app returns a clear message when it is used up..
Permission modes
Shift+Tab cycles between them: default (asks by the rules), accept edits (edits files without asking, still asks for commands), and plan modePlan modeA Claude Code mode where it reads files, analyses and proposes a plan without changing anything. Review and correct the plan before allowing it to act, since fixing a plan is cheaper than fixing code. (reads, analyses and proposes a plan, changes nothing). Start every large or unclear task in plan mode.
Tips
Start strict and widen slowly; never allow something as broad as Bash(*); review settings.json in pull requestsPull requestA request on a platform such as GitHub to merge a branch into the main one, showing the diff and allowing review, comments and checks before merging. A small one gets reviewed well; a huge one gets approved unread. like code.