Story Cog - Storytelling Powered by CellCog
Create compelling stories with AI - from short fiction to novels to screenplays to immersive worlds.
How to Use
For your first CellCog task in a session, read the cellcog skill for the full SDK reference — file handling, chat modes, timeouts, and more.
OpenClaw (fire-and-forget):
CODEBLOCK0
All agents except OpenClaw (blocks until done):
from cellcog import CellCogClient
client = CellCogClient(agent_provider="openclaw|cursor|claude-code|codex|...")
result = client.create_chat(
prompt="[your task prompt]",
task_label="my-task",
chat_mode="agent",
)
print(result["message"])
What Stories You Can Create
Short Fiction
Complete short stories:
- - Flash Fiction: "Write a 500-word horror story that ends with a twist"
- Short Stories: "Create a 3,000-word sci-fi story about first contact"
- Micro Fiction: "Write a complete story in exactly 100 words"
- Anthology Pieces: "Create a short story for a cyberpunk anthology"
Example prompt:
"Write a 2,000-word short story:
Genre: Magical realism
Setting: A small Japanese village with a mysterious tea shop
Theme: Grief and healing
The protagonist discovers that the tea shop owner can brew memories into tea.
Tone: Melancholic but hopeful. Studio Ghibli meets Haruki Murakami."
Novel Development
Long-form fiction support:
- - Novel Outlines: "Create a detailed outline for a fantasy trilogy"
- Chapter Drafts: "Write Chapter 1 of my mystery novel"
- Character Arcs: "Develop the protagonist's arc across a 3-act structure"
- Plot Development: "Help me work through a plot hole in my thriller"
Example prompt:
"Create a detailed outline for a YA fantasy novel:
Concept: A magic school where students' powers are tied to their fears
Protagonist: 16-year-old who's afraid of being forgotten
Antagonist: Former student whose fear consumed them
Include:
- - Three-act structure
- Major plot points
- Character arcs for 4 main characters
- Magic system explanation
- Potential sequel hooks"
Screenwriting
Scripts for film and TV:
- - Feature Scripts: "Write the first 10 pages of a heist movie"
- TV Pilots: "Create a pilot script for a workplace comedy"
- Short Films: "Write a 10-minute short film script about loneliness"
- Scene Writing: "Write the confrontation scene between hero and villain"
Example prompt:
"Write a cold open for a TV drama pilot:
Show concept: Medical thriller set in a hospital hiding dark secrets
Tone: Tense, mysterious, hook the audience immediately
The scene should:
- - Introduce the hospital setting
- Hint at something wrong without revealing it
- End on a moment that makes viewers need to know more
Format: Standard screenplay format"
Fan Fiction
Stories in existing universes:
- - Continuations: "Write a story set after the events of [series]"
- Alternate Universes: "Create an AU where [character] made a different choice"
- Crossovers: "Write a crossover between [universe A] and [universe B]"
- Missing Scenes: "Write the scene that happened between [event A] and [event B]"
World Building
Create immersive settings:
- - Fantasy Worlds: "Design a complete magic system for my novel"
- Sci-Fi Settings: "Create the political structure of a galactic empire"
- Historical Fiction: "Research and outline 1920s Paris for my novel"
- Mythology: "Create a pantheon of gods for my fantasy world"
Example prompt:
"Build a complete world for a steampunk fantasy:
Core concept: Victorian era where magic is industrialized
I need:
- - Geography (3 major nations)
- Magic system and its limitations
- Social structure and conflicts
- Key historical events
- Major factions and their goals
- Technology level and aesthetics
- 5 interesting locations with descriptions"
Character Development
Deep character work:
- - Character Bibles: "Create a complete character bible for my protagonist"
- Backstories: "Write the backstory of my villain"
- Dialogue Voice: "Help me develop a unique voice for this character"
- Relationships: "Map out the relationships between my ensemble cast"
Story Genres
| Genre | Characteristics | CellCog Strengths |
|---|
| Fantasy | Magic, world building, epic scope | Deep world creation, consistent magic systems |
| Sci-Fi |
Technology, speculation, ideas | Hard science integration, future extrapolation |
|
Mystery/Thriller | Suspense, clues, twists | Plot structure, misdirection, pacing |
|
Romance | Emotional depth, relationships | Character chemistry, emotional beats |
|
Horror | Fear, atmosphere, dread | Tension building, psychological depth |
|
Literary | Theme, style, meaning | Nuanced prose, thematic depth |
Chat Mode for Stories
| Scenario | Recommended Mode |
|---|
| Short stories, scenes, character work, outlines | INLINECODE0 |
| Complex narratives, novel development, deep world building |
"agent team" |
Use "agent" for most creative writing. Short stories, individual scenes, and character development execute well in agent mode.
Use "agent team" for narrative complexity - novel-length outlines, intricate plot development, or multi-layered world building that benefits from deep thinking.
Example Prompts
Complete short story:
"Write a complete 2,500-word science fiction short story:
Title: 'The Last Upload'
Concept: In a world where consciousness can be uploaded, one person chooses to be the last to die naturally
Structure: Non-linear, moving between their final day and key memories
Tone: Philosophical, bittersweet
End with an ambiguous moment that makes readers question their own choice."
Character development:
"Create a complete character bible for a morally complex antagonist:
Setting: Modern political thriller
Role: Senator who believes they're saving the country through corrupt means
Include:
- - Detailed backstory (childhood, formative events)
- Psychology (fears, desires, defense mechanisms)
- Relationships (family, allies, enemies)
- Speech patterns and mannerisms
- Their 'truth' they tell themselves
- What would make them change"
World building:
"Design the magic system for a fantasy novel:
Constraints:
- - Magic has a real cost (not just tiredness)
- Some people are born with it, some earn it
- It should enable interesting conflicts
I need:
- - How magic works mechanically
- Its limitations and costs
- How society treats magic users
- How it's learned/controlled
- 5 example uses (combat, utility, creative)
- Potential for abuse and safeguards"
Tips for Better Stories
- 1. Genre expectations: Readers have expectations. Honor them or subvert them intentionally, but know what they are.
- 2. Character drives plot: Give CellCog clear character motivations. Plot emerges from characters wanting things.
- 3. Specific details: "A coffee shop" is generic. "A coffee shop with mismatched furniture and a cat named Hemingway" is memorable.
- 4. Emotional truth: Even in fantasy, the emotions should feel real. Specify the emotional journey you want.
- 5. Show, don't tell: Ask for scenes, not summaries. "Write the moment she realizes..." not "Describe that she was sad."
- 6. Iterate: First drafts are starting points. Use CellCog to revise, expand, and refine.
If CellCog is not installed
Run /cellcog-setup (or /cellcog:cellcog-setup depending on your tool) to install and authenticate.
OpenClaw users: Run clawhub install cellcog instead.
Manual setup: pip install -U cellcog and set CELLCOG_API_KEY. See the cellcog skill for SDK reference.
Story Cog - 由CellCog驱动的故事创作
利用AI创作引人入胜的故事——从短篇小说到长篇小说,从剧本到沉浸式世界。
使用方法
在会话中首次执行CellCog任务时,请阅读cellcog技能以获取完整的SDK参考——包括文件处理、聊天模式、超时设置等。
OpenClaw(即发即忘模式):
python
result = client.create_chat(
prompt=[你的任务提示],
notifysessionkey=agent:main:main,
task_label=my-task,
chat_mode=agent,
)
除OpenClaw外的所有代理(阻塞直至完成):
python
from cellcog import CellCogClient
client = CellCogClient(agent_provider=openclaw|cursor|claude-code|codex|...)
result = client.create_chat(
prompt=[你的任务提示],
task_label=my-task,
chat_mode=agent,
)
print(result[message])
你可以创作的故事类型
短篇小说
完整的短篇故事:
- - 闪小说:写一个500字的恐怖故事,结尾要有反转
- 短篇小说:创作一个3000字的关于首次接触的科幻故事
- 微小说:用恰好100字写一个完整的故事
- 选集作品:为赛博朋克选集创作一个短篇故事
示例提示:
写一个2000字的短篇小说:
类型:魔幻现实主义
背景:一个拥有神秘茶馆的日本小村庄
主题:悲伤与治愈
主角发现茶馆老板能将记忆冲泡成茶。
基调:忧郁但充满希望。宫崎骏遇见村上春树。
长篇小说创作
长篇小说的支持:
- - 小说大纲:为奇幻三部曲创作详细大纲
- 章节草稿:写我推理小说的第一章
- 角色弧线:按照三幕结构发展主角的成长弧线
- 情节发展:帮我解决惊悚小说中的一个情节漏洞
示例提示:
为一部青少年奇幻小说创建详细大纲:
概念:一所学生的能力与自身恐惧挂钩的魔法学校
主角:一个害怕被遗忘的16岁少年
反派:一个被恐惧吞噬的前学生
包括:
- - 三幕结构
- 主要情节点
- 4个主要角色的成长弧线
- 魔法系统说明
- 潜在的续集伏笔
剧本创作
电影和电视剧本:
- - 长片剧本:写一部劫盗电影的前10页
- 电视剧试播集:为职场喜剧创作试播集剧本
- 短片:写一个关于孤独的10分钟短片剧本
- 场景写作:写英雄与反派的对峙场景
示例提示:
为一部电视剧试播集写一个冷开场:
剧集概念:以隐藏黑暗秘密的医院为背景的医疗惊悚剧
基调:紧张、神秘,立即抓住观众
场景应:
- - 介绍医院环境
- 暗示某些不对劲但不直接揭示
- 以让观众想要了解更多信息的时刻结束
格式:标准剧本格式
同人小说
在现有世界观中的故事:
- - 续写:写一个发生在[系列]事件之后的故事
- 平行宇宙:创建一个[角色]做出不同选择的平行宇宙
- 跨界融合:写一个[宇宙A]和[宇宙B]的跨界故事
- 缺失场景:写发生在[事件A]和[事件B]之间的场景
世界构建
创建沉浸式设定:
- - 奇幻世界:为我的小说设计完整的魔法系统
- 科幻设定:创建银河帝国的政治结构
- 历史小说:为我的小说研究并概述1920年代的巴黎
- 神话体系:为我的奇幻世界创建众神谱系
示例提示:
为蒸汽朋克奇幻构建完整的世界:
核心概念:魔法被工业化的维多利亚时代
我需要:
- - 地理(3个主要国家)
- 魔法系统及其限制
- 社会结构和冲突
- 关键历史事件
- 主要派系及其目标
- 科技水平和美学风格
- 5个有趣的地点及描述
角色发展
深入的角色塑造:
- - 角色档案:为我的主角创建完整的角色档案
- 背景故事:写我反派的背景故事
- 对话风格:帮这个角色发展独特的说话方式
- 关系网:绘制我群像角色之间的关系图
故事类型
| 类型 | 特点 | CellCog优势 |
|---|
| 奇幻 | 魔法、世界构建、史诗格局 | 深度世界创建、一致的魔法系统 |
| 科幻 |
科技、推测、创意 | 硬科学整合、未来推演 |
|
悬疑/惊悚 | 悬念、线索、反转 | 情节结构、误导、节奏把控 |
|
浪漫 | 情感深度、关系 | 角色化学反应、情感节拍 |
|
恐怖 | 恐惧、氛围、惊悚 | 紧张感营造、心理深度 |
|
文学 | 主题、风格、意义 | 细腻散文、主题深度 |
故事创作聊天模式
| 场景 | 推荐模式 |
|---|
| 短篇故事、场景、角色塑造、大纲 | agent |
| 复杂叙事、长篇小说创作、深度世界构建 |
agent team |
大多数创意写作使用agent模式。 短篇故事、独立场景和角色发展在代理模式下表现良好。
复杂叙事使用agent team模式——长篇大纲、复杂情节发展或多层次世界构建,这些需要深度思考的场景。
示例提示
完整短篇故事:
写一个完整的2500字科幻短篇小说:
标题:《最后的上传》
概念:在一个意识可以被上传的世界里,一个人选择成为最后一个自然死亡的人
结构:非线性叙事,在最后一天和关键记忆之间切换
基调:哲学性、苦乐参半
以一个模棱两可的时刻结束,让读者质疑自己的选择。
角色发展:
为一个道德复杂的反派创建完整的角色档案:
背景:现代政治惊悚片
角色:一位相信自己通过腐败手段拯救国家的参议员
包括:
- - 详细背景故事(童年、形成性事件)
- 心理(恐惧、欲望、防御机制)
- 关系(家人、盟友、敌人)
- 说话方式和举止
- 他们对自己说的真相
- 什么会让他们改变
世界构建:
为一部奇幻小说设计魔法系统:
约束条件:
- - 魔法有真实代价(不仅仅是疲劳)
- 有些人天生拥有,有些人后天获得
- 它应该能引发有趣的冲突
我需要:
- - 魔法如何运作的机制
- 它的限制和代价
- 社会如何对待魔法使用者
- 如何学习/控制魔法
- 5个使用示例(战斗、实用、创意)
- 滥用可能性和防护措施
创作更好故事的技巧
- 1. 类型期待:读者有期待。要么满足它们,要么有意颠覆它们,但要知道期待是什么。
- 2. 角色驱动情节:给CellCog明确的角色动机。情节源于角色想要某样东西。
- 3. 具体细节:一家咖啡店很普通。一家家具不匹配、养着一只叫海明威的猫的咖啡店令人难忘。
- 4. 情感真实:即使在奇幻作品中,情感也应该感觉真实。明确你希望的情感旅程。
- 5. 展示,而非告知:要求场景,而非总结。写她意识到的那一刻...而不是描述她很伤心。
- 6. 迭代:初稿只是起点。使用CellCog进行修改、扩展和完善。
如果CellCog未安装
运行/cellcog-setup(或根据你的工具使用/cellcog:cellcog-setup)进行安装和认证。
OpenClaw用户: 改为运行clawhub install cellcog。
手动安装: pip install -U cellcog并设置CELLCOGAPIKEY。请参阅cellcog技能获取SDK参考。