plc-db-sync SKILL.md skillA
plc-db-sync from miyatti777/ai-plc is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add miyatti777/ai-plc/plc-db-sync@git:20260929.219e64cPins git:20260929.219e64c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- miyatti777/ai-plc
- Path
core/skills/plc-db-sync/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260929.219e64c, committed Sep 29, 2026
- Size
- 2,552 bytes
- Repository stars
- 49
- License
- MIT
SKL_plc_db_sync(旧 ai-plc-db-sync)- AI-PLCのローカルDBとNotion DBをpull、push、sync、statusで双方向同期する。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# AI-PLC DB Sync `.claude/db/ai_plc.db` をローカルの正本として扱い、`projects` / `tasks` テーブルを Notion と双方向同期する。 ## When to Use - 「DBを同期して」「NotionのDBをPullして」→ pull - 「タスクをNotionに反映して」「Push」→ push - 「DB同期状態を確認して」「syncステータス」→ status - 「DB同期」→ sync (双方向) - プロジェクトやタスクをローカルで追加・更新した後にNotionへ反映したいとき - Notion側の最新データをローカルに取り込みたいとき ## Commands ```bash python3 .claude/db/sync.py pull # Notion → ローカル python3 .claude/db/sync.py push # ローカル → Notion python3 .claude/db/sync.py sync # 双方向 (pull → push) python3 .claude/db/sync.py status # 差分プレビュー python3 .claude/db/sync.py pull --dry-run # dry-run (変更なし) python3 .claude/db/sync.py push --dry-run # dry-run (変更なし) ``` ## Prerequisites - `NOTION_API_TOKEN` 環境変数が設定済みであること - `.claude/db/ai_plc.db` が存在すること(なければ `python3 .claude/db/init_db.py --import` で作成) ## Sync Logic - **Pull**: Notion 側を query → `notion_last_edited` で差分検出 → `.claude/db/ai_plc.db` を更新 - **Push**: `updated_at > last_sync_at` の行を検出 → Notion API で PATCH/POST - **Conflict**: Pull時にローカルも変更されている行は CONFLICT としてスキップ(安全側) ## Data Model | テーブル | ローカルDB | 同期先Notion DB | 用途 | | --- | --- | --- | --- | …
Read the whole file at its exact version.
How to install
mdr add miyatti777/ai-plc/plc-db-sync@sha256:22b51b6a5e1b513cThe line at the top of this page pins the label git:20260929.219e64c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_6ivddoatde77t347)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 29, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2552 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
miyatti777/ai-plc · 49 stars · license MIT · pushed 2026-10-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6ivddoatde77t347 GET https://markdownregistry.com/api/v1/resolve?ref=miyatti777/ai-plc/plc-db-sync GET https://markdownregistry.com/api/v1/blob/22b51b6a5e1b513ce9ce8b45fe463bc3816bee2b86fdc861e5a4a6b17db4d4f4
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from miyatti777/ai-plc
Every file in miyatti777/ai-plc