بنقرة واحدة
cast42bot-notes
Maintain cast42/notes with meaningful OKF metadata, links, validation, and safe Git hygiene.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Maintain cast42/notes with meaningful OKF metadata, links, validation, and safe Git hygiene.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | cast42bot-notes |
| description | Maintain cast42/notes with meaningful OKF metadata, links, validation, and safe Git hygiene. |
Treat topics/ as the OKF 0.1 bundle. Treat inbox/, meetings/, refs/,
twil/, _meta/, scripts, skills, and agent memory as supporting
infrastructure.
Before changing durable knowledge:
DESIGN.md._meta/OPEN_KNOWLEDGE_FORMAT.md.topics/index.md.index.md.Apply these rules in order:
Keep topics/index.md frontmatter exactly:
---
okf_version: "0.1"
---
Give nested index.md and any log.md under topics/ no frontmatter.
Never create README.md as a topic index; use index.md.
Give every other Markdown file under topics/, including raw/ captures,
parseable YAML frontmatter with a non-empty type.
Give notes under inbox/, meetings/, and refs/ the repository's
minimum frontmatter.
Use this shape for new durable concepts:
---
title: "..."
date: YYYY-MM-DD
timestamp: YYYY-MM-DD
type: article
topics:
- knowledge_management
tags:
- progressive-disclosure
- knowledge-graphs
resource: "https://canonical.example/source"
description: "One sentence explaining the durable idea and why it matters."
---
Metadata rules:
title from the first H1, otherwise from the filename.date from a leading YYYY-MM-DD, otherwise from the source date.timestamp to the same value for new notes unless a more precise source
timestamp is useful.topics from topics/<topic>/; topics are broad repository
placement categories.tags that improve retrieval. Tags should name the concepts,
mechanisms, practices, or entities a future reader would search for.article, notes, interesting, ai, or
technology unless they carry genuine discriminating value.tags: [] is acceptable only when no honest retrieval tag can be
inferred; this should be uncommon for curated durable concepts.resource to the canonical source URL for source-based notes.description that states the durable idea, not merely the
media format.author, source_url,
canonical_url, created_at, content_hash, and extractor.Choose the narrowest honest type. Prefer source types such as article,
book, paper, tweet, and video; use concept for synthesized
evergreen knowledge, investigation for active research, procedure for a
reusable method, and source for a raw capture.
Write curated notes in this order:
# Title## TL;DR in 2–5 lines or bullets.## Key takeaways / ## What stuck.## Related concepts when local relationships materially help.## Sources or ## Links.Keep each concept self-contained enough for an agent to load independently. Do not over-summarize deeper source material. Keep source capture and synthesis distinguishable.
index.md when it improves
navigation; indexes are curated maps, not exhaustive listings.index.md
and link it from topics/index.md.inbox/.topics/<topic>/.meetings/ and reference lists in refs/.YYYY-MM-DD_<source>_<author>_<short-title>.md for date-specific notes.topics/<topic>/raw/ with frontmatter and a
non-empty type.After changing topics/, run:
uv run --with PyYAML python scripts/validate_okf.py
Fix all conformance errors and all link warnings introduced by the change.
Run git diff --check. Inspect the exact staged paths before committing.
For legacy frontmatter discovery, run:
python .agents/skills/cast42bot-notes/scripts/normalize_frontmatter.py
Use --apply only when normalization is explicitly in scope.
git mv for moves.git add . in a dirty worktree.