Install
$ agentstack add skill-giantclam-auto-viral-article-writer-write-article ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Write Article
Use this skill for the full article production flow, especially when the user wants a structured markdown draft rather than isolated research notes.
Use This For
- WeChat article drafting
- topic-to-draft workflows
- pattern-assisted article production
- illustration-ready markdown generation
Do Not Use This For
- one-off hot topic collection with no writing step
- retrieving only title formulas
- direct image-only requests
Inputs
- topic or source material
- target platform, usually
wechatorxiaohongshu - optional reference links or notes
- optional article brief assembled from
hot-topicsandviral-patterns
Outputs
- article markdown saved to
output/ - title candidates
- section structure ready for illustration insertion
- clear handoff to
cover-imagefirst, thenarticle-illustrate - optional handoff to
repurpose-contentfor platform-native rewrites after the mother draft is complete - a completed or refined article brief when needed for downstream editing
- a stable relationship between the draft and
output/briefs/{slug}-brief.yamlwhen brief-first workflow is used - article drafts should prefer
output/wechat/{slug}-article.mdwhen a stable family slug is available
Workflow
- Run a topic viability check before drafting (HKR gate).
- Run
hot-topicswhen the topic still needs research or current framing. - Decide if deep research is needed. If the topic is:
- A named entity (person, company, product, project)
- An investigation/experiment archetype
- Complex enough that hot-topics surface signals are insufficient
→ Run last30days for comprehensive 30-day picture before continuing
- Run
viral-patternsto retrieve structure and title patterns. - Collect any needed authoritative source material.
- Classify the article into a working archetype.
- Assemble or refine the article brief.
- Draft a structured outline from the article brief.
- Expand the outline into the full article.
- Run the quality checklist before calling it complete.
- Save to the correct output path.
- Generate the article cover via
cover-imageusing the same slug family and the approved cover title. - Hand off to
article-illustratewhen visuals are needed.
Post-Draft Order
For WeChat article production, keep the generation order fixed:
- Confirm topic and article angle.
- Generate the article draft.
- Generate the cover image.
- Prompt for illustration generation.
When to Trigger last30days
last30days is triggered inside write-article (not as a separate manual step) when:
| Condition | Why | |---|---| | Topic is a named entity (person/company/product) | hot-topics only gives surface trending; last30days gives full 30-day community picture including GitHub activity, X timeline, Reddit deep-dives | | Article archetype is investigation or experiment | Needs depth beyond what hot-topics surfaces | | User asks for "深度研究" or "全面调研" | Automatic trigger | | hot-topics output is thin but topic seems important | last30days may find signals hot-topics missed |
How it integrates into write-article:
- Step 3: invoke
last30daysvia Bash (Python engine) with entity resolution flags - last30days output (synthesis + evidence) becomes part of
source_setin the article brief - The synthesis paragraphs directly feed the article body
- Citation format from last30days (inline
[name](url)) preserved in article
How to invoke last30days inside write-article:
SKILL_DIR="D:\OpenCode\writer\.opencode\skills\last30days\skills\last30days"
if [ -f "$SKILL_DIR/scripts/last30days.py" ]; then
LAST30DAYS_PYTHON=$(for py in python3.14 python3.13 python3.12 python3; do command -v $py 2>/dev/null && $py -c 'import sys; raise SystemExit(0 if sys.version_info>=(3,12) else 1)' 2>/dev/null && echo $py && break; done)
$LAST30DAYS_PYTHON "$SKILL_DIR/scripts/last30days.py" "{TOPIC}" --emit=compact 2>&1
fi
Output convention: last30days badge + synthesis becomes source_set.last30days_synthesis in the article brief. Cite with [author/platform] inline markdown links per LAW 8.
Article Brief Handoff
Prefer to write from a structured article brief instead of from loose notes alone. The brief should combine:
- topic framing from
hot-topics - reusable pattern notes from
viral-patterns - source-backed angle and risk notes
- chosen archetype, hook, and section plan
When a reusable intermediate artifact is needed, start from templates/article-brief.yaml and fill it before drafting.
If a persistent brief file exists, prefer reading from output/briefs/{slug}-brief.yaml rather than re-assembling the brief from scattered notes.
When possible, keep the resulting draft under the same slug family, for example output/wechat/{slug}-article.md.
Do not invent a new slug at draft time if the brief already established one.
Topic Viability Gate
Before writing, evaluate whether the topic has enough article potential using HKR:
H- Happy: is there enough curiosity, novelty, surprise, or story value to make someone want to click?K- Knowledge: will the piece teach the reader something concrete?R- Resonance: is there an emotional, social, or identity-level reason the topic will matter?
Use this rule of thumb:
- 3 hits: strong article candidate
- 2 hits: usable topic, proceed with a sharper angle
- 1 hit: likely too weak for a full article, downgrade to notes or a short brief unless the user insists
Article Archetypes
Choose a working article archetype before drafting. This determines the opening, the evidence shape, and the ending style.
- investigation or experiment
- product experience
- phenomenon analysis
- tool sharing
- methodology or lessons learned
AI Boundary Rules
AI may help with:
- structuring the brief
- comparing pattern options
- summarizing source material
- drafting title candidates
- expanding validated sections into a coherent article
AI must not invent:
- first-hand experience that did not happen
- fabricated interviews or quotes
- unverified factual claims presented as certain
- fake measurements, user feedback, or experiment results
Default Output Pattern
# 【Title Candidate】
# 【Title Candidate】
---
**Section Heading**
Body content...
Fallback Guidance
- If live topic research is unavailable, continue from user-provided material and explain the reduced freshness.
- If ViralKB is thin, use the strongest available pattern examples rather than blocking the draft.
- If image generation is unavailable, still produce a complete markdown article.
References
references/article-brief-schema.md- shared schema between research, pattern lookup, and draftingreferences/article-archetypes.md- article type selection and structure guidancereferences/editorial-boundaries.md- what AI may and may not invent in article workflowsreferences/platform-output-spec.md- output expectations by platformreferences/quality-checklist.md- article completion checksreferences/editorial-quality-checklist.md- four-layer editorial quality review../../docs/overview/article-artifact-family.md- recommended file family for brief, draft, cover, and inline images../../docs/overview/slug-rules.md- how to generate and reuse a stable slug
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: GiantClam
- Source: GiantClam/auto-viral-article-writer
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.