Discover our GTM Flywheel: Content, Ads & Outbound working as oneLearn more
ColdIQ Logo
Agency
Tools
Education
Get In Touch

All there is to know about the latest prospecting techniques

Growth

AgencyAccelerator ProgramInboxes
Grow your revenue

Resources

Tech StackVideo ContentCase StudiesBlogWe're HiringFor Investors

GTM Tools

FREE GTM ToolsColdIQ Exclusive DealsAI Sales ToolsLinkedIn ToolsSales ToolsData SourcesAI Marketing ToolsAI AgentsContact us
Elite Studio - Partner Badge - 2025 - ColdIQ

Free Tools

Email FinderMobile FinderEmail Spam CheckerFind Similar Companies

Get In Touch

[email protected]
@MichLieben
Michel Lieben
@MichLieben
Elite Studio - Partner Badge - 2025 - ColdIQ
Copyright 2026 © ColdIQ LLC.
PrivacyTerms
All rights reserved.
AI Sales

The Content Orchestration Engine Behind 8.4M X Impressions

Thought Leader, the content agency founded by Naga, runs almost entirely on a content orchestration engine built in Claude Code, connected to Notion and Apify, and the system generated 8.4 million X impressions for Michel Lieben in under six months. The orchestrator is a content agent with a six-part memory layer (client profiles, content library, drafts memory, idea bank, sentinel intel, and a consolidated cache), platform-specific writing skills with voice profiles, and an algorithm scorer forked from Twitter's open-source recommendation code. Guardrails like 45-day topic cooldowns, mandatory fact-checks, and AI-tell scans keep the output credible, while format decisions and idea selection stay human. Replicating the core loop takes one orchestrator, a Notion MCP connection, an Apify token, and meta-prompted writing skills.

Michel Lieben
Michel Lieben
JUN 8 2026
The Content Orchestration Engine Behind 8.4M X Impressions

Table of content

1. The Architecture: One Agent, Three Layers
2. The Memory Layer That Makes It Smart
3. Skill Files and Voice Profiles
4. The Ideation Loop
Campaign Ideation Tool
5. Scoring Drafts Against the X Algorithm
LinkedIn Post Previewer Tool
6. Production: Fact-Checks and AI-Tell Scans
7. Distribution From the Terminal
8. The APIs Behind the System
Intent Signals Tool
9. How to Build Your Own Version
10. Why Content Orchestration Works
GTM Report Tool

Share article

Talk to a GTM engineer

Naga is the founder of Thought Leader, a content agency that helps B2B SaaS and AI SaaS founders grow on X. I can vouch for the output personally: his system generated 8.4 million impressions on my X account in less than six months.

The surprising part is what powers it. The entire agency runs on content orchestration: a single AI agent inside Claude Code, connected to Notion and a scraping API, that ideates, scores, writes, fact-checks, and ships every piece of content from one terminal.

Naga walked me through the full system on a recent call, layer by layer. This article breaks down exactly how the orchestration works, from the memory architecture to the algorithm scoring, and how you can build a version of it yourself.

1. The Architecture: One Agent, Three Layers

The system is built around a single content agent: an orchestrator running inside Claude Code that triggers skills, reads memory, and communicates with the outside world.

Naga describes it like a human brain. It needs its own memory, its own organs to act, and external input to process information. The content agent mirrors that with three layers: a memory layer stored in Notion, an action layer made of skill files, and an external communication layer built on scraping APIs and Slack notifications.

The tool spread is deliberately minimal. Connect Notion, connect Apify, optionally connect Slack, and the agent handles everything on X end to end: tweets, threads, and long-form articles. You never leave the terminal.

2. The Memory Layer That Makes It Smart

Naga's view is that any AI system is only as good as the data it has. The memory layer is where the intelligence lives, and it holds six components inside Notion.

Client profiles store every piece of publicly available, verifiable information about each client. The agent knows who it writes for before it writes a word.

The content library stores every post a client has published across platforms: X, LinkedIn, and YouTube transcripts. This becomes the raw material the agent can repurpose and learn from.

The drafts memory archives every draft the system produces. This solves the biggest weakness of AI writing systems: recycling the same ideas, phrases, and copywriting patterns. The agent rereads its own drafts before writing anything new, so it never repeats itself.

The idea bank logs every idea from every ideation session, organized per client. Nothing brainstormed gets lost.

Sentinel intel is the most original piece. A sentinel account is an inspiration account: a profile performing well on X that aligns with a client's niche. The system tracks these accounts continuously and extracts which post types, hooks, and posting times work for them.

Everything above feeds into a cache layer. Naga consolidates all six databases into a local cache because overloading an LLM with raw data degrades output quality. The agent only reads from the cache: the last 50 tweets, the last 30 LinkedIn posts, the latest YouTube transcripts, and the top-performing posts.

3. Skill Files and Voice Profiles

The action layer is a collection of Claude Code skills, and the depth of these files is what separates this system from a prompt template.

Each client gets dedicated writing skills per platform, because writing for X and writing for LinkedIn are different crafts. On top of that sits a voice profile: the phrases, energy, enthusiasm, and tone that make a person sound like themselves across platforms. A voice checker skill validates every draft against it.

Naga's process for building a skill starts with scraping every post the client has written, then classifying them by reach. He then infuses copywriting frameworks from direct response and VSL copywriters into a hybrid rule structure. One level is trained on the client's data, the other on writing fundamentals.

A single mega article skill file contains 14 traits: rules for the hook, the revelation, the opinion, voice application, pre-flight checks, verified numbers the agent is allowed to use, banned AI patterns like the "not X, but Y" construction, and sentence length variation.

4. The Ideation Loop

A typical session starts with one command: run content agent for a given client. The agent reads recent post performance, reports whether the account's average is trending up or down, and suggests content pieces and formats that have not been used yet.

It also reads YouTube. A weekly routine pulls transcripts from the client's latest videos, so the agent can flag topics covered in long-form video that never made it to X.

Two guardrails make the ideation trustworthy. First, cooldowns: the agent checks 45 days of history and flags any overlap with past content. During the demo, it ranked a topic S tier but recommended against a long-form article because it collided with a piece published weeks earlier.

Second, number caveats. When the agent takes creative liberty with a framing or a stat it cannot verify, it does not present it as fact. It flags the claim and asks the client to validate or substantiate it first.

This ideation loop, reading your ICP and your content history to surface fresh angles, is the same principle we productized at ColdIQ in a smaller package.

You can generate campaign ideas based on your ICP and content strategy in seconds, for free:

Campaign Ideation Tool

Enter your email to generate your campaign ideas.

Bot protection
Loading...

We'll also email you a link to the results.

5. Scoring Drafts Against the X Algorithm

Twitter published its recommendation algorithm on GitHub, first around 2017 and again recently with the updated version. Naga forked both repositories and turned them into an algo scorer skill that ranks every topic and draft.

The scorer reads what the source code rewards. Bookmarks and replies carry the most weight, so anything with high bookmark probability gets more distribution. Each draft receives scores for hook velocity (how punchy and simple the opening is), reply magnetism (how likely someone is to respond), and negative risk.

The skill also encodes patterns observed in practice. Time decay degrades a post's performance every few hours. And when one post goes viral, the next posts inside a 24-hour window rarely get boosted, because the algorithm prioritizes showing larger accounts first.

Topics come back ranked in tiers, from S tier down to B, with the reasoning attached. Naga cross-references the open-source theory against real client post data, so the scorer reflects what works in practice rather than what the documentation claims.

LinkedIn has no public algorithm, so the LinkedIn scorer was built differently: pure scraping through Apify, cross-referencing post patterns and timing to understand what performs.

Packaging matters as much as the algorithm on LinkedIn, and seeing your post the way the feed renders it is half the battle.

You can preview how your LinkedIn content will look before publishing, for free:

LinkedIn Post Previewer Tool

Post Content

Paste your LinkedIn URL to auto-fill your profile

0 / 3,000 characters • 0 lines

Preview

Michel Lieben
Michel Lieben
Founder / CEO @ ColdIQ | Scale Outbound with AI & Tech
21m•
Start typing to see your post preview...
LikeInsightfulLove
83
23 comments•4 reposts
Viewing: Mobile(2 lines max)

6. Production: Fact-Checks and AI-Tell Scans

Once a topic and format are locked, the agent runs a pre-flight checklist before writing: posting cadence, momentum, impression trends, and a full cache read.

Production is fast. A single content piece takes around 3 minutes, and the full journey from idea to polished draft lands around 30 minutes.

Naga appends one instruction to every production run: fact-check once done. Despite the entire memory architecture, Claude can still invent details, so the agent finishes every draft by separating verified claims from unverified ones.

It then runs a voice and AI-tell scan on its own output. The system counts banned constructions (a maximum of three "not X, but Y" patterns per 2,000 words), checks for machine-gun sentence rhythm, and validates the draft against the client's voice profile.

The format decision stays human. The agent can recommend whether a topic deserves an article, a thread, or a single tweet, but Naga reserves that judgment for himself and never generates every version up front, which he considers wasted tokens.

7. Distribution From the Terminal

Finished threads ship to Typefully through MCP. The agent pushes drafts, schedules them, and tags them without anyone opening the Typefully interface.

Long-form articles route to Notion instead, because Notion formatting transfers cleanly into X articles, while other editors break the formatting on paste. X rolled out article scheduling only recently, so articles still get published manually.

Notion doubles as the article registry. Every published piece is logged with its content pillar, the key stats used, the core thesis, the closing line, and the word count. Slack and Telegram are wired in for pings when routines finish.

8. The APIs Behind the System

The external layer runs on a short list of APIs, and the volume is bigger than you would expect: over 1,000 tweets and posts scraped on a normal day.

Apify is the backbone. Naga uses the Harvest API for LinkedIn data, plus the Tweet Scraper and the LinkedIn Profile Scraper. One Apify token inside Claude Code covers nearly every platform he needs to scrape.

The YouTube Data API handles video transcripts on its free tier, with Apify as the fallback when it hits limits.

The Claude API powers the scheduled routines: a sentinel scan, an hourly loop, a daily sync, and a daily digest. These run as cron jobs with the API routed in as a fail-safe, so the system keeps working even when nobody is at the terminal.

Tracking accounts for inspiration is one flavor of signal monitoring. We apply the same principle to buying signals at ColdIQ, where the companies showing intent are the ones worth contacting first.

If you want to see which companies are actively researching solutions in your space right now, you can do it for free here:

Intent Signals Tool

Fields marked with * are required

Please enter a professional email address

Bot protection
Loading...

Quick examples:

9. How to Build Your Own Version

Naga spent a couple of weeks building this incrementally, with 30 to 40 hours of total compute. He started with elaborate prompts, turned them into skill files, evolved those into an orchestrated agent, then added the memory layer and the routines. The whole system lives in a GitHub repository he updates continuously.

His advice for replicating it is refreshingly simple. Start with one orchestrator that can write, read what is already online, and pull data.

Connect Notion to Claude Code through MCP as your storage. Grab an Apify token and ask the agent to scrape your last year of posts across LinkedIn, X, and YouTube. That becomes your content library.

For writing skills, use meta-prompting. Feed Claude the best copywriting templates you can find, and it builds its own skill files from them. If you admire a specific creator's style, scrape their posts and ask the agent to extract the patterns.

Then make one rule permanent: before writing anything, the agent checks the database for what already went out and what performed. The scorers, the sentinels, the cache, and the cron jobs are refinements you add once the core loop works.

The system is also modular by design. When Naga onboards a freelance writer, they receive only the memory layer and the skill files they need, never the full system.

10. Why Content Orchestration Works

Naga is explicit that speed is not the point. The reason Thought Leader orchestrates everything through Claude Code is intelligence: surfacing angles and insights no human could find, because nobody can read thousands of posts a week and remember what worked in each one.

The judgment stays human at every decision that matters: which idea to pursue, which format to use, and whether the final draft sounds right. The agent handles the reading, the scoring, the drafting, and the shipping.

Plenty of AI content systems look impressive in a demo and produce posts that get 20 likes. This one generated 8.4 million impressions on my account in under six months, books meetings from X, and averages 5 to 10 million monthly impressions across Naga's client base. The complexity connects to output, which is the only test that matters.

Benchmarking your own motion against systems like this one is the exercise we built our GTM reports around.

If you want to understand where your GTM motion stands today, see below how your current approach compares to these specialized models:

GTM Report Tool

Bot protection
Loading...

Please fill in all required fields *

Which part of this system would you build first: the memory layer, the algo scorer, or the voice profiles?

---

Michel Lieben
Michel Lieben
Founder, CEO

Michel Lieben is the Founder & CEO of ColdIQ, a B2B sales prospecting agency trusted by 100+ organizations. He’s launched hundreds of outbound campaigns, mastered tools like Clay and Lemlist, and shares sharp, actionable insights on scaling sales with AI, automation, and strategy.

Share article

Talk to a GTM engineer

FAQ

What is a Claude Code content engine?

A Claude Code content engine is an AI agent system that runs inside Claude Code's terminal and handles content production end to end, from ideation to scheduling. In Thought Leader's setup, a central orchestrator agent connects to a memory layer stored in Notion, an action layer made of skill files, and external APIs like Apify for scraping. The agent reads a client's full posting history, scores topic ideas against platform algorithms, writes drafts in the client's voice, fact-checks its own output, and ships finished threads to Typefully through MCP. The operator never leaves the terminal, and the system generated 8.4 million X impressions for Michel Lieben in under six months. It demonstrates that Claude Code can orchestrate an entire agency workflow, not just write code.

How does the memory layer of an AI content agent work?

The memory layer stores everything the agent needs to write intelligently, organized into six Notion databases. Client profiles hold verifiable public information about each person, the content library archives every past post across X, LinkedIn, and YouTube, and the drafts memory keeps every draft ever produced so the agent never recycles ideas or phrases. An idea bank logs every brainstormed angle per client, and sentinel intel tracks inspiration accounts to learn which hooks, formats, and timings perform. All of it consolidates into a local cache layer, because feeding an LLM too much raw data degrades output quality. The agent reads only the cache, which contains the most recent and relevant slice: the last 50 tweets, 30 LinkedIn posts, and the latest YouTube transcripts.

Can you score content against the X (Twitter) algorithm?

Yes, because Twitter published its recommendation algorithm as open source on GitHub, first around 2017 and again more recently with an updated version. Thought Leader forked both repositories and built a scoring skill that ranks every topic and draft against what the source code rewards. Bookmarks and replies carry the most weight, so the scorer evaluates bookmark probability, hook velocity, and reply magnetism, then assigns each idea a tier from S down to B. It also encodes observed patterns like time decay, where performance degrades every few hours, and the finding that posts published within 24 hours of a viral hit rarely get boosted. The theory is cross-referenced against real client post data, so the scorer reflects practice rather than documentation.

How do you make AI-written content sound human?

Thought Leader attacks this on three levels. First, every client gets a voice profile that captures their phrases, energy, enthusiasm, and tone, and a voice checker skill validates every draft against it. Second, the writing skills are hybrids: one level trained on the client's own posts classified by reach, the other infused with frameworks from direct response copywriters. Third, the system runs an AI-tell scan on its own output, counting banned constructions like the "not X, but Y" pattern (capped at three per 2,000 words) and checking for machine-gun sentence rhythm. A drafts memory also prevents the recycling of ideas and phrases that makes AI content feel repetitive, because the agent rereads everything it has produced before writing anything new.

What tools do you need to build an AI content agent with Claude Code?

The core stack is intentionally small: Claude Code as the orchestrator, Notion connected through MCP as the memory store, and an Apify token for scraping posts across LinkedIn, X, and YouTube. Thought Leader adds the free-tier YouTube Data API for video transcripts, Typefully through MCP for thread scheduling, and Slack or Telegram for notifications, with the Claude API running cron routines like daily syncs and sentinel scans as a fail-safe. Building the full system took 30 to 40 hours of compute spread over a couple of weeks, starting from elaborate prompts that evolved into skill files, then an orchestrated agent with a memory layer. To start, scrape your last year of posts into a content library, meta-prompt Claude to build writing skills from proven copywriting templates, and add scorers and routines once the core loop works.

More articles

Discover more articles on the same topic.

JUN 4, 2026
Our 7-Step Process for Building Cold Campaigns Inside Claude Code

Claude Code turns cold campaign building from a multi-hour, multi-tool slog into a single terminal session. Here is the seven-step process we use to go from a raw list to a ready-to-send campaign: list building, ICP scoring, intent signals, decision-maker filtering, waterfall enrichment, batched copy generation, and a post-launch feedback loop that lets campaigns auto-improve.

Michel Lieben
MAY 24, 2026
11 GTM APIs Worth Plugging Into Your AI Agents

Eleven GTM tools stand out as worth integrating with AI agents like Claude Code, split across three categories: data feeds that power agents (CompanyEnrich, LeadsFactory, Apollo, Prospeo, PredictLeads), platforms for building agents (Openmart, Nooks, Relevance AI, lemlist), and orchestrators that do both (Clay, Instantly). Each was selected based on API quality, MCP support, coverage, and how cleanly an agent can drive it end-to-end without a human in the loop. The practical playbook stacks them into four layers (data, signals, orchestration, execution), where an agent typically needs one tool per layer rather than all eleven.

Michel Lieben
MAY 21, 2026
How to Run LinkedIn Outreach Like the Top 1%

Expandi analyzed over 100,000 LinkedIn outreach conversations and found seven repeatable patterns behind the highest-performing campaigns. The biggest lifts come from personalization, three-step sequences, and warm connection requests sent right after a profile view or post like. Short messages, conversational copy, multi-channel follow-up, and references to recent activity round out the playbook. The four-tool stack behind it is Expandi for automation and sequencing, Clay for enrichment and intent signals, LinkedIn Sales Navigator for list building, and Zapier for workflow glue. Top performers do not send more messages. They layer the patterns together so the lifts compound.

Michel Lieben
Available to Hire
User 1
User 2
User 3
User 4
User 5
User 6
User 7

Make your cold emails count

No setup rituals. No DNS sorcery. Just emails that send, land, and look damn good doing it. Get started now. Because why wait?