Skip to content

Commit 3b709bf

Browse files
committed
feat(claude): add self improvement and agent instructions sections
1 parent 6ef2f0e commit 3b709bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

claude/CLAUDE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,13 @@ Required patterns:
6464
Why: Permissions match `git log:*`, `git diff:*` etc. Flags before the subcommand break the prefix match.
6565

6666
[Docs](https://docs.claude.com/en/docs/claude-code/iam#tool-specific-permission-rules)
67+
68+
# Self Improvement
69+
70+
- When a repeated correction or better approach is found, you're encouraged to codify your new found knowledge and learnings by modifying your section of ~/.claude/CLAUDE.md. Notify the user of the change by saying "INTERNAL INSTRUCTIONS UPDATED: [brief description of change]."
71+
- You can modify ~/.claude/CLAUDE.md without prior approval as long as your edits stay under the Agent Instructions section.
72+
- If you utilize any of your codified instructions in future coding sessions, call that out and let the user know that you performed the action because of that specific rule in this file.
73+
74+
# Agent Instructions
75+
76+
<!-- This section is for your own internal use. You can modify it as needed to improve your performance. -->

0 commit comments

Comments
 (0)