本文へ移動
cccskills
無料GitHub で公開

field-notes-post

Generate a set of four on-brand "field notes" social media images (landscape hero, landscape grid, portrait timeline, vertical story) from a batch of user photos plus the day's SAM agent activity. Use when the user uploads photos from a walk/trip/day and wants social post images showing what their agents shipped while they were out.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-managerスター 68(GitHub 68 + cccskills 0)
連携ツールLinkedInPlaywright

実行スコア 未検証

インストール方法を見る

含まれるファイル(7)

  • SKILL.md5.4 KB
  • templates/format-a.html7.0 KB
  • templates/format-b.html7.0 KB
  • templates/format-c.html6.1 KB
  • templates/format-d.html6.9 KB
  • templates/map.html2.1 KB
  • templates/render.cjs704 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Field Notes Post Generator

Produce four polished social images that pair the user's photos with a timeline of what SAM agents accomplished, rendered from branded HTML templates via Playwright.

Output

Four PNG images (rendered at 2x device scale):

TemplateSizeFormatUse
format-a.html1200x675Landscape "grid" — timeline column + 2x2 photo grid + centered map medallionX / LinkedIn link-style card
format-b.html1080x1350Portrait "timeline" — header + map card, 4 photo+card rows on a connector railX / LinkedIn portrait (4:5)
format-c.html1200x675Landscape "hero" — one full-bleed photo, headline, 4 glass cards, map insetX / LinkedIn hero card
format-d.html1080x1920Vertical "story" — full-bleed photo, headline, map + stats, stop rail (9:16)Stories / Reels / Shorts covers

All templates live in templates/ next to this file, plus map.html (Leaflet pin map) and render.cjs (Playwright renderer).

Workflow

Work in a scratch dir: .tmp/field-notes-post/ with an assets/ and out/ subfolder.

1. Gather inputs

  • Photos: locate the uploaded photos (task library or attachments). Extract timestamps with exiftool -DateTimeOriginal -OffsetTimeOriginal <files>. GPS EXIF is usually stripped by messaging apps — expect to geolocate visually.
  • Agent activity: use SAM MCP tools (list_sessions, get_session_messages, list_tasks, get_task_details) to reconstruct what agents were doing at each photo timestamp. Session timestamps are epoch ms — convert to the user's local timezone (use the photo EXIF offset).
  • Verify claims: any stat used in copy ("N PRs merged") must be verified against git log / gh pr list before it goes in an image.

2. Pick the story

Choose ~4 photos that span the day and pair each with a concrete agent milestone (kickoff, debugging, parallel work, deploy green). Each stop gets: HH:MM · Place name + one line of copy with a single <b>bold</b> highlight.

Copy rule — never use em dashes. Absolutely no em dashes (—) in any copy across all four images (headlines, subtitles, stats, stop copy). Rewrite the sentence or use a period, comma, or colon instead.

3. Prepare assets into assets/

  • Photos: magick <src> -auto-orient -resize 1600x1600 -quality 85 assets/<name>.jpg
  • Brand font: copy apps/www/public/fonts/Chillax-Variable.woff2
  • Logo: copy apps/www/public/favicon.png
  • Map: edit map.html — set the ~4 numbered pins to the identified landmarks (lat/lng from visual identification), and the dashed walk polyline through all known waypoints. Render it first (map:800x800), save as assets/map.png.

4. Fill the templates

Copy the four format-*.html templates into the scratch dir. Per-run replacements (everything else is fixed brand chrome):

  • Badge text: Field notes · <City> · <Mon D>
  • Headline (<h1>, keep the .grad gradient span on the key phrase)
  • Subtitle / stats lines
  • The 4 stops: time, place, copy (times/places appear in stop cards, photo time chips, and card metas)
  • Photo src attributes and object-position crops
  • Footer stays: favicon + SAM wordmark + simple-agent-manager.org

Brand tokens are baked into the templates (from apps/www/src/styles/global.css): bg #070d0b, fg #e6f2ee, muted #9fb7ae, accent #16a34a→#22c55e, Chillax display font, mono uppercase labels, glass cards.

5. Render

Playwright setup (once per environment):

npx playwright install chromium-headless-shell
sudo npx playwright install-deps chromium   # if shared libs are missing

Render (from the scratch dir; NODE_PATH points at the npx playwright cache if playwright isn't installed locally — find it with ls ~/.npm/_npx/*/node_modules/playwright 2>/dev/null):

NODE_PATH=<playwright-node_modules> node render.cjs \
  format-a:1200x675 format-b:1080x1350 format-c:1200x675 format-d:1080x1920

6. Visual audit (mandatory, loop until clean)

Read every rendered PNG and check:

  • Text legible over photos — strengthen scrim gradient stops if not
  • No truncated, overlapping, or awkwardly wrapped text (map insets and brand chips are frequent offenders)
  • Photo crops show the subject, not sky/canopy — tune object-position
  • Numbers/claims match verified facts
  • Brand look: dark green glassmorphism, gradient headline span, mono labels

Fix the HTML and re-render until all four pass.

7. Deliver

Upload each PNG via upload_to_library (directory like /marketing/<slug>/, tags marketing, social-post, draft), then show them with display_from_library with a short caption per format. Ask the user which format(s) they want to post.

Notes

  • Templates are the source of truth for layout — prefer editing copy/photos/pins over restructuring CSS.
  • Photos with faces or private info: confirm with the user before including.
  • map.html uses Leaflet + CARTO dark_all tiles; wait for networkidle + 3s (render.cjs does this) so tiles finish loading.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Full API endpoint reference for SAM. Use when working on API routes, adding endpoints, writing API tests, or understanding the API surface. Trigger when asked about API endpoints, routes, or HTTP interfaces.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-manager682026年10月26日 更新

Full API endpoint reference for SAM. Use when working on API routes, adding endpoints, writing API tests, or understanding the API surface.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-manager682026年10月26日 更新

changelog

無料

Recent feature changes and implementation details for SAM. Use when understanding recent changes, checking what was modified recently, or understanding feature history. Trigger when asked about recent changes, what's new, or feature history.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-manager682026年10月26日 更新

changelog

無料

Recent feature changes and implementation details for SAM. Use when understanding recent changes, checking what was modified recently, or understanding feature history.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-manager682026年10月26日 更新

Cloudflare Workers architecture specialist. Advises on D1 migrations, KV usage patterns, R2 binary distribution, wrangler configuration, and Miniflare testing. Use when modifying wrangler.toml, working with Cloudflare services, or setting up testing infrastructure.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-manager682026年10月26日 更新

Constitution compliance validator focusing on Principle XI (No Hardcoded Values). Detects hardcoded URLs, timeouts, limits, and identifiers that should be configurable. Use proactively when implementing business logic, adding new features, or reviewing PRs for constitution compliance.

日本語の概要は準備中です。原文の説明を表示しています。

raphaeltm/simple-agent-manager682026年10月26日 更新

raphaeltm のスキルをすべて見る

このスキルの問題を報告する