AI-translated from English; not yet reviewed by a fluent editor.
# एका मंजूर स्रोतातून तीन तपासण्यायोग्य मसुदे तयार करण्यासाठी Claude Code skills जोडा
> चार स्वतंत्र Claude Code skills वापरून मंजूर मजकुराची सूची करा, LinkedIn, वृत्तपत्रिका आणि जाहिरातीचे मसुदे लिहा, मग मानवी आढाव्याआधी फाइल हॅश व दावे तपासा.
By BIG CHANGE Editorial
Published: 2026-10-19T19:41:34.834Z
Updated: 2026-10-19T19:41:34.834Z
Canonical: https://bigchange.ai/blog/claude-code-three-channel-skill-pipeline-guide

AI-generated conceptual illustration by BIG CHANGE; no actual Claude Code interface, model output, reviewed draft or campaign is depicted.
मंजूर लेख किंवा प्रतिलेख अनेक मसुद्यांचा आधार होऊ शकतो, पण प्रत्येकाचा मूळ स्रोताशी स्पष्ट दुवा हवा. हे मार्गदर्शन चार स्वतंत्र [Claude Code प्रकल्प skills](https://code.claude.com/docs/en/skills) जोडते: मालकाने मंजूर केलेल्या लेखी स्रोताची सूची, स्वतंत्र डिरेक्टरीत LinkedIn पोस्ट, वृत्तपत्रिकेचा विभाग व जाहिरात लिहिणे आणि स्थानिक Python जोड प्रक्रियेने फाइल करार तपासणे. परिणाम म्हणजे नाव दिलेल्या मानवी समीक्षकासाठी मसुदे, प्रकाशन किंवा पाठवण्याची परवानगी नव्हे.
BIG CHANGE ने खालील skills, करार व जोड कोड तपासला. स्वतंत्र समीक्षकाने 16 स्थानिक रचनात्मक तपासण्या केल्या. आम्ही **केले नाही**: Claude Code मध्ये skills बसवणे किंवा चालवणे, मॉडेल चालवण्यासाठी पैसे देणे, प्रत्यक्ष तथ्यांवरचा माध्यम मसुदा बनवणे किंवा खरी मोहीम तपासणे. पुढील पायऱ्या वाचकाने स्वतःच्या मंजूर स्रोतावर वापरून पाहण्याची प्रक्रिया आहेत.
## मोठा बदल
- **काय बदलले:** स्वतःच्या चार skills साठी स्रोत, सूची व माध्यम परिणामांचे स्पष्ट करार आहेत; त्यानंतर निश्चित नियमांनी जोड होते.
- **हे महत्त्वाचे का:** प्रत्येक मसुदा स्रोताच्या भागाशी जोडता येतो आणि नसलेले माध्यम अडलेल्या जागेसारखे स्पष्ट राहते.
- **कशाकडे लक्ष द्यावे:** फाइल तपासणी सत्यता, रूपांतराचे अधिकार किंवा संपादकीय मंजुरी सिद्ध करत नाही; प्रत्येक तयार मसुदा माणसाने तपासावा.
## 1. प्रवेश, अधिकार व स्रोत निश्चित करा
स्वतःच्या नियंत्रणातील Claude Code रिपॉझिटरी व स्रोतावर प्रक्रिया करण्याची परवानगी असलेले खाते वापरा. गोपनीय मजकुरापूर्वी उपलब्ध मॉडेल, [वापर व खर्च](https://code.claude.com/docs/en/costs), [डेटा धोरण](https://code.claude.com/docs/en/data-usage) आणि [साधनांच्या परवानग्या](https://code.claude.com/docs/en/permissions) तपासा. Claude Code मधील `/usage` कमांड चालू सत्राचा वापर दाखवू शकते; बिल खाते व योजनेवर अवलंबून असते. या प्रवाहाचा खर्च किंवा बचत मोजली नाही. स्रोत खरोखर मंजूर UTF-8 लेख किंवा तपासलेला प्रतिलेख असावा, ज्याचा मालक, आवृत्ती व मंजुरी नोंदलेली असेल. प्रतिलेखनाची अचूकता, प्रत्येक माध्यमाचे अधिकार, गोपनीयता व कोणताही प्रस्ताव आधी मालकाशी स्पष्ट करा. व्हिडिओ URL किंवा खालील रिकामा नमुना ही गरज भागवत नाही.
चार संदर्भ skills, Claude Code मधील दस्तऐवजीकृत `.claude/skills/<name>/SKILL.md` स्थान, स्लॅश कमांडने बोलावणे व `$ARGUMENTS` प्रतिस्थापन वापरतात. त्यांचे `context: fork` सेटिंग प्रत्येक बोलावणीला संवाद इतिहासाशिवाय स्वतंत्र संदर्भ देते. मसुदा skills `background: true` वापरतात; त्यासाठी Claude Code **v2.1.218 किंवा नंतरची आवृत्ती** हवी. ते सर्वसाधारण एजंट वापरतात; फाइल लिहिण्याची क्षमता व प्रत्यक्ष परवानग्या वापरकर्त्याच्या Claude Code मांडणीनुसार असतात. skill चा मजकूर परवानग्या देत नाही किंवा फक्त-वाचनाची सीमा लादत नाही. होस्टने परवानगी दिल्यास पार्श्वभूमीचे काम एकाच वेळी होऊ शकते; समांतर चालण्याची हमी नाही. नावे घेण्यापूर्वी त्याच नावाचे skills व कमांड शोध यंत्रणा तपासा आणि कमांड बसवलेल्या प्रकल्प फाइलकडेच जाते याची खात्री करा. पहा [skills पुस्तिका](https://code.claude.com/docs/en/skills) आणि [subagents पुस्तिका](https://code.claude.com/docs/en/sub-agents).
## 2. चार फाइल व करार बसवा
प्रकल्पात खालील यादीतील नेमके पथ तयार करा. संदर्भ फाइल विभागातील प्रत्येक पूर्ण ब्लॉक बदल न करता कॉपी करा. `.claude/repurpose-contracts/` मधील पाच फाइल इनपुट, सूची, अडलेली स्थिती, माध्यम परिणाम यांचे स्वरूप व अवलंबित्व योजना ठरवतात. `join.py` प्रकल्पाच्या मुळाशी ठेवा. दोन नमुने `repurpose-inputs/` खाली ठेवा; कोणतेही काम चालवण्यापूर्वी तात्पुरती मूल्ये खरी मंजूर सामग्रीने बदला. आउटपुट वृक्ष केवळ रचना समजावतो. कॉपीसाठी पूर्ण फाइल खाली आहेत.
| फाइल | उपयोग |
| --- | --- |
| `.claude/skills/source-inventory/SKILL.md` | मंजुरी तपासून मसुद्यापूर्वी स्रोताची प्रत्येक ओळ नोंदवते. |
| `.claude/skills/draft-linkedin/SKILL.md` | फक्त LinkedIn मसुदा व परिणामाची जबाबदारी. |
| `.claude/skills/draft-newsletter/SKILL.md` | फक्त वृत्तपत्रिका मसुदा व परिणामाची जबाबदारी. |
| `.claude/skills/draft-ad/SKILL.md` | फक्त जाहिरात मसुदा व परिणाम किंवा प्रस्तावाचा स्पष्ट अडथळा. |
| `.claude/repurpose-contracts/*.json` | नेमकी क्षेत्रे, हॅशचे संबंध व टप्प्यांचा क्रम ठरवते. |
| `join.py` | रचना व उगम तपासून दाव्यांचा नकाशा व आढाव्यासाठी हस्तांतरण बनवते. |
| `repurpose-inputs/approved-source.template.md`, `repurpose-inputs/constraints.template.json` | रिकामे सुरुवातीचे फॉर्म; चालवण्याचा पुरावा नाही. |
मंजूर प्रस्ताव नसल्याने जाहिरात अडणार असली तरी LinkedIn, वृत्तपत्रिका व जाहिरातीसाठी स्पष्ट रूपांतर अधिकार हवेत. `forbiddenClaims` मालकाच्या इतर बंदी नसल्यास रिकामी यादी असू शकते. जाहिरातीला मंजूर प्रस्ताव, HTTP(S) गंतव्य व कृतीचे आवाहन हवे; काहीही नसल्यास ती शाखा अडते. खऱ्या समीक्षकाचे नाव नोंदवा. चालू कामात मंजूर स्रोत व निर्बंध बदलू नका.
## 3. प्रत्येक अवलंबित्व तपासून सूची चालवा
प्रथम प्रत्येक skill लहान, खऱ्या मंजूर स्रोतावर वेगळे तपासा. प्रत्यक्ष फाइल व हॅश कराराशी तुलना करा. BIG CHANGE ने ही Claude Code चाचणी केली नाही. पूर्ण कामासाठी इनपुट, चालवण्याचे निकाल व जोड निकालांच्या नवीन पूर्ण-पथ डिरेक्टरी बनवा. रिपॉझिटरीत तीन पूर्ण पथ देऊन सूची कमांड बोलवा:
```prompt
/source-inventory <absolute-path-to-approved-source.md> <absolute-path-to-constraints.json> <absolute-path-to-new-run-directory>
```
कोनीय कंसातील प्रत्येक घटक खऱ्या पथाने बदला. skill ने `inventory.json` लिहावे, ज्यात सर्व ओळी व्यापणाऱ्या मूळ शब्दशः व क्रमवार भागांच्या सीमा असतील; किंवा `inventory-blocked.json` ज्यात नेमकी नसलेली मंजुरी किंवा अधिकार असेल. सूची अडल्यास मसुदा सुरू करू नका. नोंदलेले SHA-256 दोन्ही इनपुट फाइलशी पडताळा आणि रिकाम्या ओळींसह भागांच्या सीमा तपासा.
## 4. तीन स्वतंत्र माध्यमांत मसुदे लिहा
जेव्हा `inventory.json` अस्तित्वात असेल व दोन्ही इनपुटचे हॅश नोंदीशी जुळतील, तेव्हा तीन स्वतंत्र skills बोलवा. पहिल्या घटकासाठी समान पूर्ण-पथ रन डिरेक्टरी आणि दुसऱ्यासाठी तीन वेगळ्या आउटपुट डिरेक्टरी द्या. प्रत्येक skill मंजूर स्रोत, निर्बंध व सूची वाचते, शेजारचा मसुदा नाही. सूचीनंतर ते स्वतंत्र सुरू करता येतात, मात्र Claude Code होस्ट व परवानग्यांच्या अधीन.
```prompt
/draft-linkedin <absolute-run-directory> <absolute-run-directory>/linkedin
/draft-newsletter <absolute-run-directory> <absolute-run-directory>/newsletter
/draft-ad <absolute-run-directory> <absolute-run-directory>/ad
```
प्रत्येक माध्यम `result.json` आणि फक्त तयार झाल्यावर `draft.md` यासाठी जबाबदार असते. परिणाम माध्यम व स्रोत, निर्बंध, सूचीचे SHA-256 ओळखतो, मग महत्त्वाचे दावे किंवा उद्धरणे भागांच्या ID व योग्य निर्बंध कीशी जोडतो. `ready` म्हणजे तथ्य तपासणीसाठी तयार. मंजूर जाहिरात प्रस्ताव, गंतव्य किंवा कृती आवाहन नसल्यास जाहिरात मसुद्याशिवाय अडलेला परिणाम द्यावा. पार्श्वभूमी कॉल किंवा वैध JSON एकटे उपयुक्तता किंवा अचूकता सिद्ध करत नाहीत.
## 5. परिणाम जोडा आणि मानवी निर्णय घ्या
तीनही टप्पे परतल्यावर किंवा निश्चित अपयशी झाल्यावर पुरवलेली Python फाइल रन डिरेक्टरी व एका **नवीन** जोड डिरेक्टरीसह चालवा. हे Python प्रमाणित लायब्ररी वापरते; आधी स्थानिक बसवणूक तपासा.
```bash
python join.py <absolute-run-directory> <absolute-new-join-directory>
```
जोड प्रक्रिया स्रोत व निर्बंधांचे हॅश, सूचीत सर्व ओळींचा समावेश, प्रत्येक माध्यमातील सूची हॅश, टप्प्याची ओळख, दाव्यांचे संदर्भ, आउटपुटची जबाबदारी व जाहिरातीच्या अटी तपासते. ती लिहिते `claim-map.md`, `review.md` आणि `summary.json`. नसलेले किंवा अवैध टप्पे अडलेले दिसतात, तर वैध शेजारचे मसुदे दिसत राहतात. संपूर्ण स्रोताचा मेळ नसेल तर जोड थांबते. वाक्य खरे आहे का, उद्धरण न्याय्य आहे का, दावा योग्य कायदेशीर आधारावर आहे का किंवा मालकाने प्रकाशन मंजूर केले का हे ती तपासत नाही. `review.md` मध्ये सुरुवातीला `PENDING` निर्णय असतात.
नाव दिलेल्या समीक्षकाने प्रत्येक तयार `draft.md` उघडून सर्व महत्त्वाचे विधान व उद्धरण संबंधित भाग व निर्बंधांशी तुलना करावे, संदिग्धता, माध्यमाचा स्वर, रूपांतर अधिकार, जाहिरातीचे गंतव्य व प्रस्ताव तपासावे आणि तयार प्रतीक्षेच्या क्षेत्रांबाहेर प्रत्येक माध्यमासाठी लिहावे **स्वीकारा, सुधारा किंवा नाकारा** । प्रकाशन, पाठवणे, वेळ ठरवणे व जाहिरात लावणे यांना वेगळी मानवी परवानगी व मंचाची तपासणी हवी.
## 6. चांगले काम न गमावता अयशस्वी शाखा सुधारा
स्रोताची मंजुरी किंवा अधिकार अस्पष्ट असल्यास नेमकी उणीव मालकाशी सोडवून सुधारित इनपुटने नवे काम सुरू करा. स्रोत किंवा निर्बंध हॅश बदलल्यास संपूर्ण नवी सूची हवी. एक माध्यम अयशस्वी व इतर वैध असल्यास आधी त्याच्या खऱ्या फाइल व त्रुटी पाहा. न बदललेले सूची बाइट व पडताळलेले इतर फोल्डर नव्या रन डिरेक्टरीत कॉपी करा, तिथे फक्त अपयशी टप्पा चालवा आणि आणखी नव्या डिरेक्टरीत जोडा. कॉपी परिणामही सूची हॅशशी जुळले पाहिजेत. प्रक्रियेचा परिणाम अनिश्चित असल्यास पुन्हा चालवण्याआधी परिणाम व हॅश वाचा. मागील रन व समीक्षकाची संपादने जपा; पुन्हा चालवून त्यांवर लिहू नका. हरवलेला किंवा असमर्थित दावा संदर्भ जबाबदार टप्प्यात सुधारा आणि नव्या डिरेक्टरीत निश्चित नियमांची जोड पुन्हा करा.
ही हाताने बोलावलेली, मॉडेल-निर्देशित रचना आहे. कोडने लादलेले वाटप, स्वयंचलित पुनःप्रयत्न, निश्चित समवर्ती संख्या किंवा बाह्य परिणामांची पुनर्प्राप्ती यात नाही. मंजूर लिखित स्रोताने सुरुवात करा; प्रक्रिया प्रतिलेख मिळवत किंवा पडताळत नाही आणि मोहिमेचे व्हिडिओ, ऑडिओ किंवा दृश्य साहित्य बनवत नाही.
## पूर्ण संदर्भ फाइल
पथ व सामग्री एकत्र ठेवा. खालील कोड ब्लॉक स्वतंत्रपणे तपासलेल्या संचाच्या पूर्ण प्रती आहेत; त्या संदर्भ फाइल आहेत, Claude चालवण्याच्या नोंदी नाहीत.
### `.claude/skills/source-inventory/SKILL.md`
```markdown
---
name: source-inventory
description: Build a bounded passage inventory from one approved owned source for a three-format draft pipeline.
disable-model-invocation: true
context: fork
agent: general-purpose
background: false
---
Input arguments: `$ARGUMENTS[0]` is the approved UTF-8 source Markdown path, `$ARGUMENTS[1]` is the constraints JSON path, and `$ARGUMENTS[2]` is a new run directory. Read only those inputs and the run directory contract. Do not infer inputs from conversation history.
1. Verify both files exist. Read `constraints.json` against `.claude/repurpose-contracts/constraints.schema.json`; require `sourceOwner`, `sourceVersion`, `approvedAt`, `adaptationRights`, `audience`, `permittedChannels`, `reviewer`, `forbiddenClaims`, and `offer`. `adaptationRights` must explicitly mark all three channels `true`; a template or unapproved value does not count. `offer` may be null; that blocks ad copy requiring an offer or destination. If any approval or right is unclear, create only `inventory-blocked.json` under `.claude/repurpose-contracts/inventory-blocked.schema.json` explaining the gap and stop.
2. Record SHA-256 hashes of the exact two input files. Divide the entire approved source into numbered, contiguous, verbatim line ranges with no omitted lines. Give each range a stable `P001`-style ID, start/end line and exact text, including blank lines where they occur in a range. Do not add outside facts, inferred transcript words, or quotations not present in the source.
3. Write `inventory.json` in the run directory according to `.claude/repurpose-contracts/inventory.schema.json` in the reader project. Record the source and constraints paths/hashes, source owner/version/approval, passages and any ambiguous passages requiring human review. Do not edit either input.
4. Return the inventory path and blockers. This stage never drafts, publishes, fetches video, contacts services or approves source rights on behalf of the owner.
```
### `.claude/skills/draft-linkedin/SKILL.md`
```markdown
---
name: draft-linkedin
description: Draft one review-only LinkedIn post from an approved source inventory.
disable-model-invocation: true
context: fork
agent: general-purpose
background: true
---
Inputs: `$ARGUMENTS[0]` is the run directory containing `inventory.json`; `$ARGUMENTS[1]` is the dedicated `linkedin` output directory. Read the source and constraints paths recorded in the inventory and verify their hashes still match. Do not rely on prior conversation or sibling-stage results.
Write only under the dedicated output directory. If required source, permission, audience or voice information is missing or conflicting, write `result.json` with `status: blocked` and exact blockers; do not invent it. Otherwise create `draft.md`: one self-contained LinkedIn post with a factual opening and concrete takeaway, no invented statistics, quotes, benefits, offers or links. Write `result.json` according to `.claude/repurpose-contracts/stage-result.schema.json` in the reader project, with `channel: linkedin`, input hashes, inventory hash, draft path, and every material claim or quote paired with exact passage IDs and any applicable constraints keys. Mark uncertainty in the draft and result. `status: ready` means ready for human fact review, not approved or published. Return the two file paths. Never post or schedule.
```
### `.claude/skills/draft-newsletter/SKILL.md`
```markdown
---
name: draft-newsletter
description: Draft one review-only newsletter section from an approved source inventory.
disable-model-invocation: true
context: fork
agent: general-purpose
background: true
---
Inputs: `$ARGUMENTS[0]` is the run directory containing `inventory.json`; `$ARGUMENTS[1]` is the dedicated `newsletter` output directory. Read the source and constraints paths recorded in the inventory and verify their hashes still match. Do not rely on prior conversation or sibling-stage results.
Write only under the dedicated output directory. If required source, permission, audience or voice information is missing or conflicting, write `result.json` with `status: blocked` and exact blockers. Otherwise create `draft.md`: a descriptive heading, short summary and evidence-linked detail suited to the approved newsletter audience. Add no invented statistics, quotes, benefits or outside news. Write `result.json` according to `.claude/repurpose-contracts/stage-result.schema.json` in the reader project, with `channel: newsletter`, input hashes, inventory hash, draft path, and every material claim or quote paired with exact passage IDs and applicable constraints keys. Mark uncertainty in the draft and result. `status: ready` means ready for human fact review, not approved or sent. Return the two file paths. Never send or schedule.
```
### `.claude/skills/draft-ad/SKILL.md`
```markdown
---
name: draft-ad
description: Draft review-only ad copy from an approved source inventory and approved offer.
disable-model-invocation: true
context: fork
agent: general-purpose
background: true
---
Inputs: `$ARGUMENTS[0]` is the run directory containing `inventory.json`; `$ARGUMENTS[1]` is the dedicated `ad` output directory. Read the source and constraints paths recorded in the inventory and verify their hashes still match. Do not rely on prior conversation or sibling-stage results.
Write only under the dedicated output directory. Require an approved offer, destination URL and call to action in constraints, plus adaptation rights for advertising. If any are absent, write `result.json` with `status: blocked`, the missing exact fields and no draft. Otherwise create `draft.md` with one headline, one body and the approved call to action. No invented metrics, testimonials, urgency, claims, price or performance. Write `result.json` according to `.claude/repurpose-contracts/stage-result.schema.json` in the reader project, with `channel: ad`, input hashes, inventory hash, draft path, and every material claim or quote paired with exact passage IDs and applicable constraints keys. Mark uncertainty in the draft and result. `status: ready` means ready for human fact/legal review, not approved or placed. Return the two file paths. Never upload, buy or schedule ads.
```
### `.claude/repurpose-contracts/constraints.schema.json`
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Reader-approved source constraints",
"type": "object",
"required": ["sourceOwner", "sourceVersion", "approvedAt", "adaptationRights", "audience", "permittedChannels", "reviewer", "forbiddenClaims", "voiceRules", "offer"],
"properties": {
"sourceOwner": {"type": "string", "minLength": 1},
"sourceVersion": {"type": "string", "minLength": 1},
"approvedAt": {"type": "string", "minLength": 1},
"adaptationRights": {"type": "object", "required": ["linkedin", "newsletter", "ad"], "properties": {"linkedin": {"type": "boolean"}, "newsletter": {"type": "boolean"}, "ad": {"type": "boolean"}}},
"audience": {"type": "string", "minLength": 1},
"permittedChannels": {"type": "array", "uniqueItems": true, "items": {"enum": ["linkedin", "newsletter", "ad"]}},
"reviewer": {"type": "string", "minLength": 1},
"forbiddenClaims": {"type": "array", "items": {"type": "string"}},
"voiceRules": {"type": "string", "minLength": 1},
"offer": {"type": ["object", "null"], "required": ["approvedOffer", "destinationUrl", "callToAction"], "properties": {"approvedOffer": {"type": "string", "minLength": 1}, "destinationUrl": {"type": "string", "format": "uri"}, "callToAction": {"type": "string", "minLength": 1}}}
}
}
```
### `.claude/repurpose-contracts/inventory.schema.json`
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Approved source inventory",
"type": "object",
"additionalProperties": false,
"required": ["sourcePath", "sourceSha256", "constraintsPath", "constraintsSha256", "sourceOwner", "sourceVersion", "approvedAt", "passages", "ambiguities"],
"properties": {
"sourcePath": {"type": "string", "minLength": 1},
"sourceSha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
"constraintsPath": {"type": "string", "minLength": 1},
"constraintsSha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
"sourceOwner": {"type": "string", "minLength": 1},
"sourceVersion": {"type": "string", "minLength": 1},
"approvedAt": {"type": "string", "minLength": 1},
"passages": {"type": "array", "minItems": 1, "items": {"type": "object", "additionalProperties": false, "required": ["id", "startLine", "endLine", "text"], "properties": {"id": {"type": "string", "pattern": "^P[0-9]{3,}$"}, "startLine": {"type": "integer", "minimum": 1}, "endLine": {"type": "integer", "minimum": 1}, "text": {"type": "string"}}}},
"ambiguities": {"type": "array", "items": {"type": "string"}}
}
}
```
### `.claude/repurpose-contracts/inventory-blocked.schema.json`
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Preflight block before drafting",
"type": "object",
"additionalProperties": false,
"required": ["status", "blockers"],
"properties": {
"status": {"const": "blocked"},
"blockers": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}}
}
}
```
### `.claude/repurpose-contracts/stage-result.schema.json`
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "One isolated channel result",
"type": "object",
"additionalProperties": false,
"required": ["channel", "status", "sourceSha256", "constraintsSha256", "inventorySha256", "draftFile", "claims", "blockers"],
"properties": {
"channel": {"enum": ["linkedin", "newsletter", "ad"]},
"status": {"enum": ["ready", "blocked"]},
"sourceSha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
"constraintsSha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
"inventorySha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
"draftFile": {"type": ["string", "null"]},
"claims": {"type": "array", "items": {"type": "object", "additionalProperties": false, "required": ["text", "passageIds", "constraintKeys", "status"], "properties": {"text": {"type": "string", "minLength": 1}, "passageIds": {"type": "array", "items": {"type": "string", "pattern": "^P[0-9]{3,}$"}}, "constraintKeys": {"type": "array", "items": {"type": "string"}}, "status": {"enum": ["supported", "needs-human-check", "unsupported"]}}}},
"blockers": {"type": "array", "items": {"type": "string"}}
}
}
```
### `.claude/repurpose-contracts/pipeline-plan.json`
```json
{
"purpose": "Compose reader-owned skills into one source-to-three-format review run",
"execution": "manual Claude Code skill invocation plus deterministic local join",
"sourceStage": {
"skill": "source-inventory",
"inputs": ["approved-source.md", "constraints.json"],
"success": "inventory.json with source and constraints hashes and complete numbered line coverage",
"failure": "inventory-blocked.json; stop all channel stages"
},
"parallelAfterInventory": [
{"skill": "draft-linkedin", "reads": ["approved-source.md", "constraints.json", "inventory.json"], "writesOnly": "linkedin/", "contract": "stage-result.schema.json"},
{"skill": "draft-newsletter", "reads": ["approved-source.md", "constraints.json", "inventory.json"], "writesOnly": "newsletter/", "contract": "stage-result.schema.json"},
{"skill": "draft-ad", "reads": ["approved-source.md", "constraints.json", "inventory.json"], "writesOnly": "ad/", "contract": "stage-result.schema.json"}
],
"join": {
"file": "join.py",
"dependsOn": ["all three stage results or recorded missing/failed slots"],
"writesOnly": "new join directory",
"outputs": ["claim-map.md", "review.md", "summary.json"],
"humanApproval": "pending"
}
}
```
### `join.py`
```python
"""Deterministic join/check for the proposed local, review-only pipeline.
This does not call a model, generate prose, or approve factual support. Run only
on reader-owned paths after separately invoked stage skills have returned.
"""
import hashlib
import json
import sys
from pathlib import Path
from urllib.parse import urlparse
CHANNELS = ("linkedin", "newsletter", "ad")
HEX = set("0123456789abcdef")
def digest(path):
return hashlib.sha256(path.read_bytes()).hexdigest()
def valid_hash(value):
return isinstance(value, str) and len(value) == 64 and set(value) <= HEX
def read_json(path):
return json.loads(path.read_text(encoding="utf-8"))
def string_list(value):
return isinstance(value, list) and all(isinstance(v, str) and v.strip() for v in value)
def approved_offer(value):
return (isinstance(value, dict) and
all(isinstance(value.get(k), str) and value[k].strip()
for k in ("approvedOffer", "destinationUrl", "callToAction")) and
urlparse(value["destinationUrl"]).scheme in ("http", "https") and
bool(urlparse(value["destinationUrl"]).netloc))
def check_inventory(run):
inv_path = run / "inventory.json"
inv = read_json(inv_path)
expected = {"sourcePath", "sourceSha256", "constraintsPath", "constraintsSha256",
"sourceOwner", "sourceVersion", "approvedAt", "passages", "ambiguities"}
if set(inv) != expected:
raise ValueError("inventory keys differ from contract")
source, constraints = Path(inv["sourcePath"]), Path(inv["constraintsPath"])
if not source.is_file() or not constraints.is_file():
raise ValueError("approved source or constraints missing")
if digest(source) != inv["sourceSha256"] or digest(constraints) != inv["constraintsSha256"]:
raise ValueError("approved input changed since inventory")
rules = read_json(constraints)
required = ("sourceOwner", "sourceVersion", "approvedAt", "adaptationRights",
"audience", "permittedChannels", "reviewer", "forbiddenClaims", "voiceRules", "offer")
if not isinstance(rules, dict) or any(k not in rules for k in required):
raise ValueError("constraints approval/rights fields incomplete")
text_fields = ("sourceOwner", "sourceVersion", "approvedAt", "audience", "reviewer", "voiceRules")
if any(not isinstance(rules[k], str) or not rules[k].strip() for k in text_fields):
raise ValueError("constraints text fields incomplete")
if not string_list(rules["forbiddenClaims"]) or not string_list(rules["permittedChannels"]):
raise ValueError("constraints lists malformed")
if any("REPLACE_WITH" in rules[k] for k in text_fields):
raise ValueError("constraints template was not completed")
if not isinstance(rules["adaptationRights"], dict) or any(rules["adaptationRights"].get(c) is not True for c in CHANNELS):
raise ValueError("all three adaptation rights must be explicit")
if not set(CHANNELS).issubset(set(rules["permittedChannels"])):
raise ValueError("three-channel rights not explicit")
if any(rules[k] != inv[k] for k in ("sourceOwner", "sourceVersion", "approvedAt")):
raise ValueError("source identity differs from constraints")
lines = source.read_text(encoding="utf-8").splitlines()
if not lines:
raise ValueError("source is empty")
next_line, ids = 1, set()
if not isinstance(inv["passages"], list) or not string_list(inv["ambiguities"]):
raise ValueError("inventory passages or ambiguities malformed")
for n, p in enumerate(inv["passages"], 1):
if set(p) != {"id", "startLine", "endLine", "text"}:
raise ValueError("passage keys differ from contract")
if p["id"] != f"P{n:03d}" or p["id"] in ids:
raise ValueError("passage IDs must be ordered and unique")
ids.add(p["id"])
if (type(p["startLine"]) is not int or type(p["endLine"]) is not int or
p["startLine"] != next_line or p["endLine"] < next_line or p["endLine"] > len(lines)):
raise ValueError("source line range gap or overlap")
actual = "\n".join(lines[p["startLine"] - 1:p["endLine"]])
if p["text"] != actual:
raise ValueError("passage text differs from approved source")
next_line = p["endLine"] + 1
if next_line != len(lines) + 1:
raise ValueError("inventory omits source lines")
return inv_path, inv, rules, ids
def check_stage(run, channel, inv, rules, ids, inv_hash):
folder = run / channel
path = folder / "result.json"
if not path.is_file():
return {"channel": channel, "status": "blocked", "blockers": ["result.json missing"], "claims": []}
try:
result = read_json(path)
required = {"channel", "status", "sourceSha256", "constraintsSha256",
"inventorySha256", "draftFile", "claims", "blockers"}
if set(result) != required or result["channel"] != channel:
raise ValueError("result keys or channel differ from contract")
if result["status"] not in ("ready", "blocked"):
raise ValueError("invalid result status")
if (result["sourceSha256"] != inv["sourceSha256"] or
result["constraintsSha256"] != inv["constraintsSha256"] or
result["inventorySha256"] != inv_hash):
raise ValueError("result belongs to another source/inventory")
if not isinstance(result["claims"], list) or not string_list(result["blockers"]):
raise ValueError("claims/blockers must be arrays")
if result["status"] == "ready":
if channel == "ad" and not approved_offer(rules.get("offer")):
raise ValueError("ad requires approved offer, HTTP(S) destination and call to action")
if result["draftFile"] != "draft.md" or not result["claims"] or result["blockers"]:
raise ValueError("ready result lacks draft or claim list")
draft = folder / "draft.md"
if not draft.is_file() or not draft.read_text(encoding="utf-8").strip():
raise ValueError("ready draft missing or empty")
elif not result["blockers"] or result["draftFile"] is not None:
raise ValueError("blocked result needs reasons and no draft")
for claim in result["claims"]:
if set(claim) != {"text", "passageIds", "constraintKeys", "status"}:
raise ValueError("claim keys differ from contract")
if not isinstance(claim["text"], str) or not claim["text"].strip():
raise ValueError("empty claim")
if claim["status"] not in ("supported", "needs-human-check", "unsupported"):
raise ValueError("invalid claim status")
if not string_list(claim["passageIds"]) or not string_list(claim["constraintKeys"]):
raise ValueError("claim evidence pointers must be string arrays")
if not set(claim["passageIds"]).issubset(ids):
raise ValueError("unknown source passage ID")
if not claim["passageIds"] and not claim["constraintKeys"]:
raise ValueError("claim has no evidence pointer")
if not set(claim["constraintKeys"]).issubset(rules):
raise ValueError("unknown constraints key")
if claim["status"] == "unsupported" and result["status"] == "ready":
raise ValueError("unsupported claim in ready draft")
return result
except (OSError, ValueError, KeyError, TypeError, json.JSONDecodeError) as exc:
return {"channel": channel, "status": "blocked", "blockers": [f"invalid result: {exc}"], "claims": []}
def main():
if len(sys.argv) != 3:
raise SystemExit("Usage: python join.py RUN_DIRECTORY NEW_JOIN_DIRECTORY")
run, target = Path(sys.argv[1]).resolve(), Path(sys.argv[2]).resolve()
if target.exists():
raise SystemExit("join output already exists; use a new directory to preserve prior review")
inv_path, inv, rules, ids = check_inventory(run)
inv_hash = digest(inv_path)
results = [check_stage(run, channel, inv, rules, ids, inv_hash) for channel in CHANNELS]
target.mkdir(parents=True, exist_ok=False)
map_lines = ["# Claim map for human review", "", f"Source SHA-256: {inv['sourceSha256']}",
f"Constraints SHA-256: {inv['constraintsSha256']}", f"Inventory SHA-256: {inv_hash}", ""]
review_lines = ["# Review handoff", "", f"Reviewer: {rules['reviewer']}",
"No draft is approved, sent or published by this join.", ""]
for result in results:
channel = result["channel"]
map_lines += [f"## {channel}", ""]
review_lines += [f"## {channel}: {result['status']}", ""]
for blocker in result["blockers"]:
review_lines.append(f"- Blocker: {blocker}")
for claim in result["claims"]:
refs = ", ".join(claim["passageIds"] + claim["constraintKeys"])
map_lines.append(f"- {claim['status']}: {claim['text']} — {refs}")
map_lines.append("")
review_lines += ["- Human must compare every claim and quote with the approved inputs.",
"- Human must check rights, voice, audience and any offer/destination.",
"- Human approval decision: PENDING", ""]
(target / "claim-map.md").write_text("\n".join(map_lines), encoding="utf-8")
(target / "review.md").write_text("\n".join(review_lines), encoding="utf-8")
summary = {"sourceSha256": inv["sourceSha256"], "constraintsSha256": inv["constraintsSha256"],
"inventorySha256": inv_hash, "channels": {r["channel"]: r["status"] for r in results},
"humanApproval": "pending"}
(target / "summary.json").write_text(json.dumps(summary, indent=2) + "\n", encoding="utf-8")
print(json.dumps(summary))
if __name__ == "__main__":
main()
```
### `repurpose-inputs/approved-source.template.md`
```markdown
# Replace with the owner's approved written source
This template is deliberately empty of publishable facts. Supply the exact approved transcript or article, retain line breaks for passage IDs, and record its owner and version in constraints.json. Do not invoke the pipeline on this template.
```
### `repurpose-inputs/constraints.template.json`
```json
{
"sourceOwner": "REPLACE_WITH_ACTUAL_OWNER",
"sourceVersion": "REPLACE_WITH_ACTUAL_VERSION",
"approvedAt": "REPLACE_WITH_ACTUAL_APPROVAL_DATE",
"adaptationRights": {"linkedin": false, "newsletter": false, "ad": false},
"audience": "REPLACE_WITH_APPROVED_AUDIENCE",
"permittedChannels": ["linkedin", "newsletter", "ad"],
"reviewer": "REPLACE_WITH_ACTUAL_HUMAN_REVIEWER",
"forbiddenClaims": [],
"voiceRules": "REPLACE_WITH_APPROVED_VOICE_RULES",
"offer": null
}
```
### `expected-output-tree.txt`
```markdown
STRUCTURE ONLY. No Claude run or model output exists in this packet.
<new-run>/
inventory.json from source-inventory skill, or inventory-blocked.json
linkedin/result.json ready or blocked; draft.md only when ready
newsletter/result.json ready or blocked; draft.md only when ready
ad/result.json ready or blocked; draft.md only when ready
<new-join>/
claim-map.md generated by join.py from stage claims
review.md all three statuses and PENDING human decisions
summary.json hashes, statuses and humanApproval=pending
```
## स्रोत व अधिक वाचन
- [Claude Code skills पुस्तिका](https://code.claude.com/docs/en/skills) — प्रकल्प skill पथ, frontmatter, कॉल, घटक प्रतिस्थापन, स्वतंत्र संदर्भ व पार्श्वभूमी वर्तन. 19 ऑक्टोबर 2026 रोजी तपासले; संपूर्ण पद्धतीची एक आवृत्ती दिलेली नाही.
- [Claude Code subagents पुस्तिका](https://code.claude.com/docs/en/sub-agents) — सर्वसाधारण एजंट, संदर्भ व परवानग्या. 19 ऑक्टोबर 2026 रोजी तपासले.
- [Claude Code खर्च](https://code.claude.com/docs/en/costs), [डेटा वापर](https://code.claude.com/docs/en/data-usage) आणि [परवानग्या](https://code.claude.com/docs/en/permissions) — खात्यानुसार वापर, डेटा हाताळणी व साधन नियंत्रण. 19 ऑक्टोबर 2026 रोजी तपासले; प्रवाहाचा खर्च मोजला नाही.
- स्वतंत्रपणे तपासलेल्या स्थानिक संचात चार skills, पाच JSON करार, दोन इनपुट नमुने, आउटपुट वृक्ष व जोड स्क्रिप्ट आहे. 16 तपासण्यांनी केवळ तात्पुरते रचनात्मक चाचणी डेटा वापरले; गद्यनिर्मिती किंवा तथ्य मंजुरी झाली नाही.
- [संबंधित BIG CHANGE मार्गदर्शक: समांतर दस्तऐवज आढावा](https://bigchange.ai/blog/claude-managed-agents-parallel-document-review-guide) दस्तऐवज आढाव्यावर आधारित वेगळा Claude प्रवाह सांगतो; Code मध्ये स्थानिक स्रोत तीन माध्यमांसाठी रूपांतरित करणे नव्हे.
## Sources
- [Claude Code skills पुस्तिका](https://code.claude.com/docs/en/skills) — प्रकल्प पथ, कॉल, स्वतंत्र संदर्भ व पार्श्वभूमी; HTTP 200 व हॅश 2026-10-19 रोजी तपासले.
- [Claude Code subagents पुस्तिका](https://code.claude.com/docs/en/sub-agents) — सर्वसाधारण एजंट व परवानग्या; HTTP 200 व हॅश 2026-10-19 रोजी तपासले.
- [Claude Code खर्च](https://code.claude.com/docs/en/costs) — खात्यानुसार वापर व सत्र अहवाल; 2026-10-19 रोजी तपासले.
- [Claude Code डेटा वापर](https://code.claude.com/docs/en/data-usage) — खाते व संस्थेचे डेटा धोरण; 2026-10-19 रोजी तपासले.
- [Claude Code परवानग्या](https://code.claude.com/docs/en/permissions) — प्रत्यक्ष साधन प्रवेश skill च्या मजकुराबाहेर ठरतो; 2026-10-19 रोजी तपासले.
BIG CHANGE वृत्तपत्र
मोठे चित्र. तुमच्या गतीने.
AI आणि रोबोटिक्सवरील ताज्या बातम्या, पाहण्यासारखे बदल आणि वापरता येतील अशा व्यावहारिक कल्पना. दैनिक माहिती, साप्ताहिक सारांश किंवा मासिक दृष्टिकोन निवडा.
Next scheduled send (UTC): . Your first edition arrives at the next scheduled send after you confirm.
तुमची गोपनीयता, तुमची निवड.
आवश्यक स्टोरेज साइट सुरक्षित ठेवण्यास आणि तुमच्या निवडी लक्षात ठेवण्यास मदत करते. तुमची परवानगी मिळेपर्यंत पर्यायी Google Analytics बंद राहते. फक्त आवश्यक स्टोरेज वापरून प्रत्येक लेख वाचता येतो. गोपनीयतेचा तपशील