Dieworkwear
@magistr/dieworkwearv2026.10.25.10
Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
01README
Menswear fit advice grounded in Derek Guy's (@dieworkwear) thread corpus, read through Thread Reader App. Focus: the larger / stocky figure ("кабанчик") from the thread "DRESSING FOR LARGER MALE FIGURES". Figure definitions and a curated, tweet-cited rule set ship as bundled reference files; the corpus is fetched at runtime into swamp data.
Methods:
discover— crawl the author's thread index (paginated, newest first)fetch— fetch threads by id or index-preview regex into the corpus (idempotent)figure— classify a body from measurements (kabanchik / big-tall / athletic / slim / average)advise— ranked fit checklist with tweet citations; optional claude -p narrative over the corpusextract— mine new tweet-cited rules from fetched threads via claude -p (resumable)critique— check an outfit photo against the figure's rules via claude -p vision
02Release Notes
2026.10.25.10
- Repo-wide republish; no functional change.
03Behaviors
@magistr/dieworkwearv2026.10.25.10extensions/models/dieworkwear.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| author? | string | X/Twitter handle whose threads form the corpus |
| baseUrl? | string | Thread Reader App base URL |
| claudeBin? | string | Path to the claude CLI used for extract / synthesis / critique |
| claudeModel? | string | Model passed to claude -p |
| requestDelayMs? | number | Politeness delay between Thread Reader App requests |
fn discover(maxPages?: number, since?: string)
Crawl the author's Thread Reader App index (newest first) into the `index` resource.
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Pages to crawl (~20 threads each) |
| since? | string | Stop once threads are older than this ISO timestamp |
fn fetch(ids?: array, match?: string, limit?: number, refresh?: boolean)
Fetch threads into the corpus: explicit ids, and/or index entries whose preview matches a regex. Skips threads already fetched unless refresh=true.
| Argument | Type | Description |
|---|---|---|
| ids? | array | Thread (first tweet) ids |
| match? | string | Case-insensitive regex over index previews (needs `discover` first) |
| limit? | number | |
| refresh? | boolean |
fn figure(heightCm: number, weightKg: number, chestCm?: number, waistCm?: number, hipsCm?: number, inseamCm?: number)
Classify a body figure from measurements (kabanchik / big-tall / athletic / slim / average).
| Argument | Type | Description |
|---|---|---|
| heightCm | number | Height in cm |
| weightKg | number | Weight in kg |
| chestCm? | number | Chest girth, cm |
| waistCm? | number | Waist girth, cm |
| hipsCm? | number | Hip/seat girth, cm |
| inseamCm? | number | Inseam, cm |
fn advise(figure?: string, includeExtracted?: boolean, synthesize?: boolean, question?: string, threadIds?: array)
Ranked fit checklist for a figure (alias like 'кабанчик', or the last `figure` result), with tweet citations. synthesize=true adds a claude -p narrative grounded in the fetched corpus.
| Argument | Type | Description |
|---|---|---|
| figure? | string | Figure id/alias; defaults to the latest `figure` classification |
| includeExtracted? | boolean | |
| synthesize? | boolean | |
| question? | string | Free-form question for the synthesis step |
| threadIds? | array |
fn extract(threadIds?: array, refresh?: boolean)
Mine structured fit rules from fetched threads via claude -p into the `rules` resource (resumable: threads already processed are skipped unless refresh=true).
| Argument | Type | Description |
|---|---|---|
| threadIds? | array | |
| refresh? | boolean |
fn critique(imagePath: string, figure?: string)
Check an outfit photo (local path) against the figure's rules using claude -p vision.
| Argument | Type | Description |
|---|---|---|
| imagePath | string | Absolute path to a local image |
| figure? | string |
Resources
index(infinite)— Author's thread index crawled from Thread Reader App.
thread(infinite)— One fetched thread (instance name thread-<id>).
corpus(infinite)— Manifest of every thread fetched into the corpus.
figure(infinite)— Body-figure classification from measurements.
rules(infinite)— Rules extracted from corpus threads by claude -p.
advice(infinite)— Ranked rule checklist (+ optional narrative) for a figure.
critique(infinite)— Outfit photo checked against the figure's rules.
04Skills
dieworkwear1 file
05Previous Versions
2026.10.15.9MIT
2026.10.15.9
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.8MIT
2026.10.15.8
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.6MIT
2026.10.15.6
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.5MIT
2026.10.15.5
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.4MIT
2026.10.15.4
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.3MIT
2026.10.15.3
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.2MIT
2026.10.15.2
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.15.1MIT
2026.10.15.1
Changed
- Repo-wide maintenance release: version bump to republish the current source. No schema change.
2026.10.09.2MIT
2026.10.09.2
- Adds second-hand buying rules for larger figures (Mr Porter / Put This On, retold): buy by measurements, what can be altered, portly/stout cuts.
- Bundled rules can cite a non-X source (
sourceUrl); figures take arulesFileslist. Adds ethandesu "Gravitas" (2017) trouser/tailoring rules for big builds.
06Stats
A
100 / 100
Downloads
15
Archive size
28.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
Repository
https://github.com/umag/swamp-workspace07Platforms
08Labels