How jackywxsz/jacky-opc works
1. This repository is not a conventional app; it is a file-based “skill warehouse” for AI agents. The runtime is whatever agent host you use, such as Claude Code, Codex, Cursor, or Trae Solo. The repo supplies markdown instructions, templates, scripts, and reference material that the agent reads and acts on.
2. The architecture has one clear primary system: skills/jacky-opc. The README positions this as the main content-production operating system for a creator or solo business: topic selection, outline generation, drafting, publication prep, review, and knowledge accumulation.
3. The other jacky-* directories are specialized support skills rather than standalone products. Each one is an isolated module with its own SKILL.md, and some have references, templates, scripts, or agent configs:
- jacky-hook: opening-hook optimization
- jacky-wiki: knowledge-base writing and retrieval
- jacky-de-ai: rewriting to reduce “AI tone”
- jacky-xhs-check: pre-publication risk checks for Xiaohongshu
- jacky-illustration: article illustration planning and generation
- jacky-motion: turning scripts into motion/HTML presentation assets
4. The main data flow is content-lifecycle based, not request/response based. A typical path is:
topic research in jacky-opc → opening refinement in jacky-hook → style cleanup in jacky-de-ai → risk checking in jacky-xhs-check → archival and learning in jacky-wiki. For video, jacky-motion is the final transformation step; for article visual assets, jacky-illustration sits after drafting.
5. opc-system-template/ is the repository’s core file-system model for the creator workflow. It defines a persistent content workspace with numbered stages:
user profile, benchmark accounts, personal context, topic decisions, copy structure, opening templates, publication archive, data feedback, and experience accumulation. This is the structural backbone that jacky-opc expects to operate against.
6. The template system is intentionally local and editable. It is designed to be copied into a user’s Obsidian vault or ordinary folder and renamed to “OPC System.” That means the architecture assumes human-maintained knowledge files, with the AI agent reading and updating markdown content inside the folder tree.
7. The repository’s operational boundary is “skills plus local workspace,” not hosted services. Environment variables such as OPC_ROOT, WIKI_ROOT, and GOOGLE_API_KEY connect some skills to local directories or external APIs, but the repo itself does not contain secrets, uploads, or a backend service. The README explicitly excludes private drafts, API keys, generated PDFs/images, and local paths.
8. Tooling is lightweight and mostly text-native. The repo uses:
- Markdown for instructions, knowledge, and templates
- Shell scripts in jacky-opc for workspace setup and material search
- Python in jacky-illustration for image generation workflows
- HTML templates in jacky-motion and jacky-illustration for visual output
- YAML agent config in jacky-motion
This indicates a workflow where the agent orchestrates local text and asset generation rather than calling a large application stack.
9. The documentation subtree under docs/ provides method-level guidance, not runtime code. Files such as benchmark deconstruction, install skills, production flywheel, review/compounding, and topic system suggest the repo is as much a methodology library as a tooling bundle. These docs explain how the content engine should be run and improved over time.
10. The skill directories are deliberately independent deployment units. The README says each skill can be copied on its own into a skill directory, and each root contains SKILL.md. This modular packaging is an important architectural boundary: no shared application state, no monolithic runtime, and no dependency on installing the whole repository.
11. The output side is organized by content stage and platform format. jacky-opc templates include short articles, long articles, short-video scripts, and research notes; the OPC template includes separate folders for drafts and published archives, with separate lanes for long-form and short-video content. That separation reflects a pipeline from ideation to draft to published artifact to archived knowledge.
12. Overall, the repo is best diagrammed as a creator operating system with one master workflow (jacky-opc) and several specialist transformation tools around it. The key architectural idea is that durable knowledge lives in markdown folders, while agent skills are reusable execution modules that transform that knowledge into drafts, checks, visuals, motion assets, and feedback loops.
Main entry points: README.md OPC template · SKILL.md OPC system · common.sh OPC scripts · 复盘沉淀方法.md Data feedback
Components 27
Core workflow
Primary content production operating system and its orchestration
- OPC system · Main creator operating system for topic selection, drafting, publishing, and learning
skills/jacky-opc/SKILL.md - OPC scripts · Workspace setup and material search helpers
skills/jacky-opc/scripts/common.sh - Init workspace · Initializes content items in the OPC workspace
skills/jacky-opc/scripts/init-content-item.sh - Search materials · Finds supporting materials for content production
skills/jacky-opc/scripts/search-materials.sh - Content templates · Draft formats for short articles, long articles, short-video scripts, and research notes
skills/jacky-opc/templates/短文.md
Specialist skills
Independent transformation modules used at different content stages
- Hook skill · Specialist skill for improving opening hooks
skills/jacky-hook/SKILL.md - DE-AI skill · Rewrites drafts to reduce AI-like tone
skills/jacky-de-ai/SKILL.md - XHS check · Pre-publication risk and compliance checks for Xiaohongshu
skills/jacky-xhs-check/SKILL.md - Wiki skill · Archives and retrieves durable knowledge from published work
skills/jacky-wiki/SKILL.md - Illustration skill · Plans and generates article illustrations
skills/jacky-illustration/SKILL.md - Motion skill · Transforms scripts into motion or HTML presentation assets
skills/jacky-motion/SKILL.md
OPC workspace
Persistent local folder model for creator knowledge and content stages
- OPC template · Persistent local folder structure for the creator workflow
opc-system-template/README.md - User profile · User identity, audience, and positioning notes
opc-system-template/01.用户画像/用户画像.MD.md - Benchmarks · Benchmark account analysis and reference material
opc-system-template/02.对标账号/对标分析.MD.md - Context file · Personal context and operational constraints
opc-system-template/03.我的上下文/我的上下文.MD.md - Topic decisions · Topic research, selection, and management lanes
opc-system-template/04.选题决策/选题方法论.md - Copy structure · Content structure and framework data
opc-system-template/05.文案结构/文案结构.md - Openers · Opening templates for different article styles
opc-system-template/06.开篇模板/开篇结构.md - Published archive · Published content archive and publication rules
opc-system-template/07.发布存档/发布运营规则.md - Data feedback · Performance data, failures, and winning examples
opc-system-template/08.数据反馈/复盘沉淀方法.md - Experience base · Compounded concepts, methods, and lessons learned
opc-system-template/09.经验沉淀/核心概念词典.md
Method docs
Repository guidance on how to run and improve the system
- README · Explains the skill-warehouse model and the main OPC workflow
README.md - Topic system · Topic discovery and selection methodology
docs/topic-system.md - Benchmarking · Competitor and benchmark account deconstruction
docs/benchmark-deconstruction.md - Flywheel · Production loop for iterating content and operations
docs/production-flywheel.md - Review loop · Review, compounding, and knowledge accumulation guidance
docs/review-and-compounding.md - Install skills · How to copy and deploy individual skills into a local agent environment
docs/install-skills.md
Connections 30
- README → OPC system: defines core system · Repository README presents jacky-opc as the primary operating system
- README → OPC template: describes workspace · README frames the local OPC folder model as the durable content workspace
- Install skills → OPC system: deploys skill · Installation guidance explains how to copy the master skill into an agent environment
- Topic system → OPC system: guides selection · Topic methodology feeds the main content selection flow
- Benchmarking → OPC template: informs benchmarks · Benchmark deconstruction aligns with the benchmark account stage in the workspace
- Flywheel → OPC template: improves loop · Flywheel guidance describes iterative production across the persistent workspace
- Review loop → Data feedback: feeds feedback · Review guidance maps to the data feedback stage and compounding loop
- OPC system → OPC scripts: uses · Master skill is backed by local shell helpers
- OPC scripts → Init workspace: includes · Common scripting layer supports workspace initialization
- OPC scripts → Search materials: includes · Common scripting layer supports material search
- OPC system → Content templates: produces drafts · OPC skill emits content into structured draft templates
- OPC system → Hook skill: hands off hooks · Topic and draft refinement flow into opening optimization
- OPC system → DE-AI skill: hands off drafts · Main drafting flow can be cleaned up by the anti-AI rewrite skill
- OPC system → XHS check: pre-publishes · Publication-ready content can be checked for Xiaohongshu risks
- OPC system → Wiki skill: archives knowledge · Published work and insights are accumulated into the wiki skill
- OPC system → Illustration skill: adds visuals · Article drafting can branch into illustration planning and generation
- OPC system → Motion skill: creates motion · Script outputs can be transformed into motion or HTML presentation assets
- OPC template → User profile: contains · Workspace begins with user profile knowledge
- OPC template → Benchmarks: contains · Workspace includes benchmark account analysis
- OPC template → Context file: contains · Workspace stores personal context and constraints
- OPC template → Topic decisions: contains · Workspace manages topic research and selection
- OPC template → Copy structure: contains · Workspace defines copy structure and frameworks
- OPC template → Openers: contains · Workspace holds opener templates
- OPC template → Published archive: contains · Workspace keeps publication archives
- OPC template → Data feedback: contains · Workspace records performance feedback and failure cases
- OPC template → Experience base: contains · Workspace compounds methods and core concepts
- Topic decisions → Content templates: feeds · Topic decisions shape draft generation inputs
- Openers → Hook skill: supports · Opening template library supports hook optimization
- Published archive → Wiki skill: archives into · Published artifacts and lessons are moved into durable knowledge
- Data feedback → Experience base: compounds into · Feedback and failures are converted into reusable principles