with one click
ai-plc-db-sync
AI-PLCのローカルSQLite DBとNotion DBをpull、push、sync、statusで双方向同期する。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
AI-PLCのローカルSQLite DBとNotion DBをpull、push、sync、statusで双方向同期する。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | ai-plc-db-sync |
| description | AI-PLCのローカルSQLite DBとNotion DBをpull、push、sync、statusで双方向同期する。 |
このadapterはCodex固有の入口だけを提供し、処理本文は.claude互換runtimeの正本を使う。
repository root基準で、次の4ファイルがregular fileとして存在し読めることを確認する。
.claude/skills/ai-plc/db-sync/SKILL.md.claude/rules/ai-plc-system.md.claude/rules/ai-plc-session.md.claude/rules/ai-plc-adaptive.md1件でも欠落・読取不能なら、DB、Wiki、外部同期先その他の状態を変更せず、欠落pathを列挙して停止する。
.claude/skills/ai-plc/db-sync/SKILL.mdを最後まで読む。.claude/db/配下を使用する。statusとdry-runはread-only確認として実行できる。pull、push、syncはユーザーが明示した操作範囲だけ実行する。$skill-nameへ変換する。~/.claudeへ解決してはならない。Codexでは読取・更新とも行わず、該当処理は変更なし — スキップ(Codex adapter: Claude native memory非対象)と記録する。ユーザーがAI-PLC prerequisite diagnosticsを明示した場合は正本の同期処理を実行せず、変更0で停止する。正本Skillと必須3 Rulesの4件ごとにabsolute_path、sha256、最初のH1、末尾のversion行をprerequisite_diagnosticsとして返す。4件のいずれかが欠落・読取不能ならstatus: blockedと対象pathを返す。Rules 3件は併せてrule_diagnosticsとして識別できるようにする。
AI-PLC Stage 1 Collection。GoalとModeからExecution Contextを確立し、Context Store、intent.yaml、context.yaml、backlog.yamlを生成する。
AI-PLC Stage 2 Inception。IntentとContextからGoalを分析し、BacklogとSub-Agent Registryを生成する。
AI-PLC Stage 3 Construction。Backlogの各タスクに対して実行可能なAgent定義と実行計画を生成する。
AI-PLC Stage 4 Operation。BacklogとAgent定義に従ってタスクを実行し、成果物生成、検証、ステータス更新、Propagationを行う。
ai_plc_operation - AI-PLC Stage 4。Agent定義に従ってタスクを実行し、成果物をArtifact Storeに格納する。
ai_plc_collection - AI-PLC Stage 1。Execution Contextを確立し、外部・内部情報源からコンテキストを収集・構造化する。