Get the FREE Ultimate OpenClaw Setup Guide →

sessions-to-blog

Scanned
npx machina-cli add skill jmerta/codex-skills/sessions-to-blog --openclaw
Files (1)
SKILL.md
2.0 KB

Sessions To Blog

Overview

Create publishable MDX blog posts from sessions/articles session logs with consistent voice, structure, and internal links, aligned to project standards.

Workflow

  1. Resolve project standards and output location

    • Find the project's MDX article standards and output location (check repo docs, AGENTS, README, or content guidelines).
    • If standards or location are not found, ask the user before drafting.
  2. Clarify scope and output

    • Ask for date range, audience, and desired length if not provided.
    • Use the language of the user's prompts in the logs; confirm if mixed or unclear.
  3. Gather source entries

    • Read the relevant sessions/articles/YYYY-MM-DD.md blocks for the selected dates.
    • Extract: intent, actions, artifacts, decisions, progress, open questions, and any file paths.
  4. Plan the post

    • Build a short outline using the template in references/examples.md.
    • Select 3 to 7 key highlights; prioritize user intent and outcomes.
  5. Draft in the defined style

    • Follow references/style-and-structure.md.
    • Keep facts grounded in the logs; mark uncertainty explicitly.
  6. Apply internal linking rules

    • Follow references/linking-rules.md for links to source logs, files, and related posts.
  7. QA pass

    • Check for missing sources, broken links, and inconsistent tense.
    • Ensure the post is readable without the raw logs.

References

  • references/style-and-structure.md for voice, tone, structure, and language rules.
  • references/linking-rules.md for internal links and citation conventions.
  • references/examples.md for input and output examples and a lightweight template.

Source

git clone https://github.com/jmerta/codex-skills/blob/main/sessions-to-blog/SKILL.mdView on GitHub

Overview

Sessions To Blog creates publishable MDX blog posts from sessions/articles logs, ensuring a consistent voice, structure, and internal links that align with project standards. It streamlines turning daily notes into blog-ready content and enforces defined writing style and linking practices.

How This Skill Works

It reads session logs from sessions/articles/YYYY-MM-DD.md, resolves project standards and output locations, and clarifies the desired scope. It then extracts key elements (intent, actions, artifacts, decisions, progress, open questions, and file paths), drafts an outline from the references/examples.md template, writes in the project’s style, applies internal linking rules from references/linking-rules.md, and performs a QA pass before delivery.

When to Use It

  • Turning daily session notes into publishable MDX blog posts.
  • Defining or updating writing style and internal linking rules for posts.
  • Producing MDX drafts that follow project standards and file location requirements.
  • Generating weekly or date-range recap posts from session logs.
  • Preparing posts tailored to a specific audience or length constraint.

Quick Start

  1. Step 1: Resolve project standards and output location; confirm scope.
  2. Step 2: Gather source entries from sessions/articles/YYYY-MM-DD.md and plan outline.
  3. Step 3: Draft MDX in the defined style, apply internal links, and run QA.

Best Practices

  • Clarify the project’s MDX standards and output location before drafting.
  • Read and extract intent, actions, artifacts, decisions, progress, questions, and file paths from logs.
  • Plan a short outline using the template in references/examples.md and prioritize 3-7 key highlights.
  • Follow the style-and-structure guidelines and mark uncertainties clearly.
  • Apply linking rules and perform QA for sources, links, and tense consistency.

Example Use Cases

  • Publish a daily MDX recap from 2024-11-01 logs with internal links to artifacts.
  • Draft a project-wide blog post summarizing a week’s session notes with consistent voice.
  • Create an MDX post that links to related logs and code files using the project's linking rules.
  • Generate a concise recap with 5 key highlights and decisions.
  • Produce an MDX draft that adheres to file location sessions/articles and standards.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers