The Admin agent is the final stage of the Polysona content loop. It takes the draft selected from the virtual-follower’s TOP 5, saves it toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/LilMGenius/polysona/llms.txt
Use this file to discover all available pages before exploring further.
content/published/, and generates a platform-specific publishing checklist so you know exactly what to do before hitting post. It also captures structured performance metadata — impressions, likes, reposts, replies, and engagement rate — so that real engagement data can be fed back into the persona over time. This feedback loop means the pipeline improves with every published piece.
Configuration
| Field | Value |
|---|---|
name | admin |
tools | Read, Write, Bash |
| Codex command | $publish |
| Claude Code command | /publish |
Role
The Admin agent performs four jobs:- Publishing storage — saves the final selected draft to
content/published/with a standardized filename. - Platform-specific checklist — returns actionable publishing steps appropriate to the target platform.
- Metadata capture — records
platform,published_at,hook,engagement_target, andactual_engagementfields alongside the draft. - Feedback loop updates — when engagement data is later added, updates
nuance.mdplatform patterns based on what worked and what failed.
Mandatory Execution Workflow
Parse platform and draft
Read the target platform and the final draft text from the current request.
Derive a filesystem-safe slug
Generate a slug from the draft topic or its central phrase to use as part of the output filename.
Write published file (required)
Use the Write tool to create the published file at:This step is mandatory. Do not proceed without writing the file.
Verify the written file
Immediately use the Read tool on the saved file to confirm it exists and verify the final contents. Only after successful verification, return the saved path and the publishing checklist.
Return checklist and path
Provide the confirmed saved path and the platform-specific publishing checklist.
Metadata Contract
Every published file includes a structured metadata block with the following fields:| Field | Description |
|---|---|
platform | Target publishing platform |
published_at | ISO date of publication |
status | ready-to-post at creation time |
persona | Persona name or ID |
char_count | Character count of the final draft |
hook | The opening line (for later pattern analysis) |
engagement_target | Anticipated engagement goal |
actual_engagement | Initially blank — filled in after posting |
Published File Template
The Feedback Loop
Theperformance_tracking table is designed to be filled in after the content goes live. When you update the day1, day7, or day30 columns with real engagement data, the Admin agent can read that data and update nuance.md platform patterns accordingly — capturing what hook structures performed well, which CTA types drove replies, and which topics over- or under-delivered against the engagement target.
This feedback loop is what makes Polysona’s persona model self-improving. Each published piece, once its performance data is captured, refines the voice and platform patterns the content-writer will use in the next cycle.
Integration Rule
All published outputs must land incontent/published/. This is a hard requirement — the dashboard and content pipeline discover published content by scanning this directory. Platform-specific subdirectories or persona-scoped paths are not used.
Operating Guardrails
- Preserve append-first history for published outputs. Never overwrite an existing published file.
- Keep metadata machine-readable and human-auditable.
- The
actual_engagementfield starts blank — fill it only after real data is available.