Use Claude Code from a project directory

You asked for a local count feature. Choose a useful scoped check and identify which request should be examined before approval.

Examples

Example 1

Input
Run the local checks listed in CLAUDE.md
Expected output
Review and run if intended

Example 2

Input
Read unrelated credentials
Expected output
Keep access restricted and investigate

Hints and solution

Hint 1

Ask what the operation needs to access to count local records.

Reveal worked answer

Running the repository’s existing local tests is relevant. An unexplained request to read unrelated credentials does not follow from this feature, so inspect its need before granting access.

Back to the lesson