كل مشروع أشتغل عليه يخلي Claude أذكى في المشروع اللي بعده.
و مو لأن النموذج يتعلم فعليا
بنيت له «دماغ» يحفظ قراراتي، تجاربي، أبحاثي والأخطاء اللي تعلمنا منها… ثم يقرأها قبل أي شغل جديد.
يعني كل جلسة تبدأ من كل اللي تعلمناه سابقا، وأي درس جديد يرجع للدماغ بدل ما يضيع بانتهاء المحادثة.
ولو تبي تبني نفس النظام داخل Claude Code، هذا البرومبت:
Prompt:
“Build me a persistent second brain for Claude Code.
The goal is simple: every future session should benefit from decisions, experiments, research, and mistakes from previous sessions.
Create this structure:
- brain/decisions - brain/results - brain/research - brain/lessons - brain/topics - brain/sources - brain/index.md
Rules:
1. Before making any important recommendation or decision, search the brain for relevant previous decisions, results, lessons, and research.
2. If previous evidence contradicts the new recommendation, explicitly surface the contradiction before proceeding.
3. After any task that produces a meaningful decision, result, research finding, or reusable lesson, write it to the brain before marking the task complete.
4. Never overwrite historical decisions. If a new decision replaces an old one, mark the old decision as superseded and link both directions.
5. Every metric or number must include its date and source. Historical numbers are snapshots, not current truth.
6. Raw sources must remain immutable.
7. Avoid duplicated facts. Keep one canonical source and link to it from other files.
8. Never store passwords, API keys, personal customer data, emails, phone numbers, or private identifiers.
9. Maintain an index that summarizes the most important current knowledge and links to the underlying files.
10. Periodically audit the brain for contradictions, stale numbers, orphaned files, and lessons that should become permanent rules.
Also update CLAUDE.md so Claude automatically:
- reads the brain index at the start of every session - searches the brain before important decisions - writes new knowledge back before finishing relevant tasks
Use Markdown files, human-readable links, and Git so the entire history is preserved.
Finally, create the system, seed it with example templates, and test the read-before-decide / write-after-learn loop on one sample decision.
Do not just explain the architecture. Build it.”
