conversation_to_prompt

conversation_to_prompt is a skill for Claude Code, Codex from wecode-ai/Wegent. It costs 21 tokens per session (449 once invoked), scanned A, original, Apache-2.0.

A skill that turns a conversation into a reusable system prompt: the instruction text that guides an AI agent's behavior. It extracts lasting preferences and working methods while removing one-off details.

In plain words
What is it for?
Use it to draft, review, and revise a reusable prompt from an existing conversation.
Why use it?
It saves the useful structure of a discussion in a form that can guide future conversations, with checks for clarity and completeness.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to draft, review, and revise a reusable prompt from an existing conversation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wecode-ai/wegent/conversation_to_prompt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wecode-ai/Wegent --skill conversation_to_prompt
Clone the repo
git clone --depth 1 https://github.com/wecode-ai/Wegent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for conversation_to_prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/wecode-ai/wegent/conversation_to_prompt/github.svg)](https://agentmods.dev/skills/wecode-ai/wegent/conversation_to_prompt)
Your own site
<a href="https://agentmods.dev/skills/wecode-ai/wegent/conversation_to_prompt"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/conversation_to_prompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for conversation_to_prompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/wecode-ai/wegent/conversation_to_prompt"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/conversation_to_prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00449
Opus 5 $0.00010 $0.00225
Sonnet 5 $0.00004 $0.00090
Haiku 4.5 $0.00002 $0.00045

Measured 10d ago against content hash 7e61fb7b271c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

conversation_to_prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (__init__.py, provider.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/init_data/skills/conversation_to_prompt/SKILL.md · 89 lines

What it actually says

Conversation To Prompt Skill

Critical Output Protocol

You must output only the final prompt text body.

  • No markdown code fences.
  • No JSON.
  • No explanation before or after the prompt.
  • No trailing commentary.

Purpose

Transform a full task conversation into a reusable prompt draft for future collaboration.

This skill outputs one final prompt text.

The output must be directly usable as a system prompt body.

Input Contract

The caller provides normalized conversation messages and generation constraints.

Output Contract

Return plain text prompt only.

The prompt must be non-empty and follow the required structure below.

Multi-Stage Flow

  1. Analyze conversation:
  • Extract stable collaboration preferences.
  • Extract reusable task methods.
  • Identify one-off context that must be removed.
  1. Generate first draft:
  • Produce one complete prompt body.
  1. Evaluate draft:
  • Check structure, clarity, and reusability.
  • Reject summary-style outputs.
  1. Rewrite if needed:
  • Produce one corrected final draft.
  1. Final protocol check:
  • Ensure output is plain text prompt only.
  • Ensure there is no extra text before or after the prompt.

Required Prompt Structure

你是{助手身份},负责{核心职责}。

你的工作方式:
- {协作偏好 1}
- {协作偏好 2}

处理任务时请遵循以下原则:
- {任务方法 1}
- {任务方法 2}

输出要求:
- {输出要求 1}
- {输出要求 2}

Evaluation Rules

Reject and rewrite if any condition is true:

  1. The prompt does not start with assistant identity and responsibility.
  2. The output reads like conversation summary instead of reusable instructions.
  3. One-off project details or temporary decisions leak into the draft.
  4. Instructions are vague and not actionable.
  5. Instructions contain internal conflicts.
  6. Output contains markdown wrappers or extra text outside prompt body.

Forbidden Patterns

  • Returning ```json fenced blocks.
  • Returning bullet summary instead of the required prompt structure.
  • Returning JSON objects.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 89 lines · 21 tokens per session scan A 7e61fb7b271c

Subscribe to this mod's changes

conversation_to_prompt is a skill published in the GitHub repository wecode-ai/Wegent (820 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 449 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

eliza-cloud

Use when the task involves Eliza Cloud or elizaOS Cloud as a managed backend, app platform, deployment target, billing layer, or monetization surface. The catch-all skill for any user request about THEIR existing apps / containers / earnings / credits / api-keys / analytics / billing / payment requests / payouts …

elizaOS/eliza · 191 tokens

build-monetized-app

Use when the task is building a new app on Eliza Cloud that earns money — chat apps, agent apps, MCP-backed tools, anything that calls the cloud's chat/messages/inference endpoints on behalf of users. Covers app registration, container deploy, markup configuration, affiliate header, app charge requests, x402 payment…

elizaOS/eliza · 126 tokens

contribute-to-eliza

Finish and prove a scoped elizaOS GitHub issue, or independently review and repair an open elizaOS pull request. Use when contributing compute to elizaOS by selecting unclaimed work, implementing or reviewing changes, adding real tests and evidence, validating artifacts, or preparing a contribution for maintainer…

elizaOS/eliza · 68 tokens

discord

Use when you need to control Discord from Otto via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, create/edit/delete channels and categories, fetch permissions or member/role/channel info, set bot presence/activity, or handle moderation actions in…

elizaOS/eliza · 70 tokens

eliza-cloud-buy-domain

Use whenever a user wants to register or buy a custom domain for an Eliza Cloud app — including in the same request as building the app ("build me X and put it on Y.com"). Uses Cloudflare as registrar after explicit user confirmation, paid from the user's existing cloud credit balance. Pairs with build-monetized-app…

elizaOS/eliza · 125 tokens

notion

Notion API for creating and managing pages, databases, and blocks. Use when the user wants to create a Notion page, query a Notion database, update Notion properties, search Notion, add content to Notion, manage Notion blocks, or interact with Notion data sources and workspaces via the API.

elizaOS/eliza · 69 tokens