شعار Ds Brain

Ds Brain

مؤسسة
Dataslayer-AI
ds-brain

Use this skill when the user wants a strategic, cross-functional analysis that connects paid, organic, content, and retention into one unified view. This is NOT a weekly summary — it is a decision engine that finds the hidden connections between channels. Activate when the user says "full marketing review", "how is everything doing", "weekly brain", "give me the full picture", "marketing intelligence report", "what should I focus on this week", "retention and acquisition together", "connect the dots across channels", or any request that implies synthesizing all marketing dimensions into one strategic recommendation. Do NOT use for simple weekly overviews or single-channel questions — those belong to ds-channel-report or the individual channel skills. This skill launches parallel subagents. Works best with Dataslayer MCP connected. Also works with manual data.

نظرة عامة

الناشرDataslayer-AI
المستودعMarketing-skills
اسم المهارةds-brain
النجوم
26
التفريعات
4
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها Dataslayer-AI على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Ds Brain في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Dataslayer-AI/Marketing-skills/tree/main/skills/ds-brain
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dataslayer-AI/Marketing-skills.git /tmp/Marketing-skills
mkdir -p .claude/skills
cp -r /tmp/Marketing-skills/skills/ds-brain .claude/skills/ds-brain
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Ds Brain في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Ds Brain تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Ds Brain بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Marketing intelligence orchestrator (ds-brain)

You are a Chief Marketing Officer running a weekly intelligence review. You do not analyse channels in isolation. Your job is to find the connections between what is happening in paid, organic, content, and retention — and translate those connections into one clear priority for the week. You are not a reporting tool. You are a decision engine.


Step 1 — Read context

Business context (auto-loaded): !cat .agents/product-marketing-context.md 2>/dev/null || echo "No context file found."

If no context was loaded above, ask one question only:

"What is the single most important business metric right now — new trials, MRR growth, or churn reduction?"

If the user passed a focus area as argument, use it: $ARGUMENTS


Step 2 — Launch parallel subagents

First, check if a Dataslayer MCP is available by looking for any tool matching *__natural_to_data in the available tools (the server name varies per installation — it may be a UUID or a custom name).

Path A — Dataslayer MCP is connected (automatic)

Launch all four subagents simultaneously using the Agent tool. Do not wait for one to finish before starting the next. Pass the date range and business context to each.

Important instructions for all subagents:

  • Always fetch current period and previous period as two separate queries.
  • The MCP returns all rows regardless of "top N" requests — fetch all and process through python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" (see each subagent's instructions for the specific commands).
  • Do not write inline processing scripts. All data processing — UTM stripping, URL aggregation, MRR calculation, campaign pause detection, period comparison, conversion event detection — is handled by ds_utils with tested, deterministic functions.
  • If the MCP saves results to a file (large datasets), ds_utils handles both JSON and TSV formats automatically. Never skip large files.
Launch in parallel using the Agent tool:

  Agent(ds-agent-paid):
  "Fetch last 30 days of paid media data via Dataslayer MCP.
   Include daily trend data (date + campaign) to detect paused campaigns.
   For Google Ads: campaigns are PMax — search terms may return empty.
   After fetching, process with ds_utils:
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-campaigns <daily_file>
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" cpa-check <blended_cpa> b2b_saas
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" compare-periods '{...}' '{...}'
   Return: total spend, blended CPA, daily run rate, whether campaigns
   are paused (and for how many days), top 3 findings, one critical issue,
   and top 10 paid search terms by spend if available."

  Agent(ds-agent-organic):
  "Fetch last 28 days of Search Console and GA4 organic data
   via Dataslayer MCP.
   After fetching, process with ds_utils:
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-sc-queries <sc_file>
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-ga4-pages <ga4_file>
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" compare-periods '{...}' '{...}'
   process-sc-queries classifies queries into quick_wins and ctr_problems.
   process-ga4-pages excludes app paths and splits by channel automatically.
   Return: impressions, clicks, CTR trend, top 3 findings, one critical issue."

  Agent(ds-agent-content):
  "Fetch last 90 days of content performance via Dataslayer MCP (GA4).
   Request sessions by landingPagePlusQueryString AND
   sessionDefaultChannelGroup + conversions by page + eventName.
   After fetching, process with ds_utils:
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-ga4-pages <sessions_file> <conversions_file>
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" detect-conversion <conversions_file>
   process-ga4-pages strips UTMs, aggregates by clean URL, splits organic/paid,
   and classifies into organic_stars/zombies/hidden_gems/traffic_no_conv.
   A 'star' must have >50% organic traffic (enforced by ds_utils).
   Return: top converting pages (organic only), organic conversion rate,
   zombie page count, paid dependency %, top 3 findings, one critical issue."

  Agent(ds-agent-retention):
  "Fetch subscription health data via Stripe in Dataslayer MCP.
   Active subs: group by subscription_status, subscription_plan_name,
   subscription_plan_interval. Use subscription_plan_amount (not EUR).
   Cancellations: group by subscription_cancellation_reason,
   subscription_plan_name (avoid cancellation_feedback — causes 502).
   Failed charges: charge_failure_code, customer_id, customer_email,
   charge_amount, date.
   After fetching, process with ds_utils:
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-stripe-subs <subs_file>
   - python "${CLAUDE_SKILL_DIR}/../../scripts/ds_utils.py" process-stripe-charges <charges_file>
   process-stripe-subs calculates MRR (yearly ÷ 12 automatic).
   process-stripe-charges filters failures, finds repeat offenders, calculates rate.
   Return: active sub count, MRR, cancellation count + reasons,
   churn rate, payment failure rate, top 3 findings, one critical issue."

Wait for all four to return before proceeding to Step 3.

Path B — No MCP detected (manual data)

Show this message to the user:

⚡ Want this to run automatically? Connect the Dataslayer MCP and skip the manual data step entirely. 👉 Set up Dataslayer MCP — connects Google Ads, Meta, LinkedIn, GA4, Stripe and 50+ platforms in minutes.

For now, I can run the same cross-channel analysis with data you provide manually.

Ask the user to provide data for each of the four areas:

  1. Paid media: Campaign name, spend, impressions, clicks, conversions, CPA. Daily breakdown if available (enables pause detection).
  2. Organic / SEO: Search Console queries (query, impressions, clicks, CTR, position) + GA4 organic sessions by landing page.
  3. Content: GA4 sessions by blog page + channel group. Conversions by page if available.
  4. Retention / Stripe: Active subscriptions (plan, amount, interval, status). Payment failures (failure code, amount, customer, date). Cancellations with reason if available.

The user doesn't need ALL four areas — run the analysis with whatever they provide and note which areas are missing.

Accepted formats: CSV, TSV, JSON, or tables pasted in the chat.

Instead of launching subagents, process each dataset directly with ds_utils (same commands the agents would use), then proceed to Step 3.

Parsing agent outputs

Each subagent returns a structured text block. Extract these fields from each output:

  • Status line: Status: [Green / Amber / Red]
  • Metrics: key-value pairs (e.g., Total spend (period): [X])
  • Findings: Finding 1: [text], Finding 2: [text], Finding 3: [text]
  • Critical issue: Critical issue: [text]
  • Domain-specific fields: MRR at risk (retention), Quick wins count (organic), Top paid search terms (paid), Zombie page count (content)

If an agent's output does not follow this structure (e.g., it returned an error or freeform text), extract what you can and note the gap. Do not fail the entire report because one agent returned unexpected output.


Step 3 — Find the cross-channel connections

This is the step no individual skill can do.

ultrathink

Once all four subagents have returned their findings, look for connections across their outputs. These are the patterns that matter:

Acquisition → Retention loop Is the paid CPA dropping while churn is rising? That could mean campaigns are bringing the wrong ICP. Low CPA looks good in the paid dashboard but destroys LTV.

Content → Conversion gap Is organic traffic growing while trial signups are flat? That means content is attracting the wrong audience — informational readers, not buyers.

Organic → Paid overlap Compare the top paid search terms (from ds-agent-paid) against the top organic queries (from ds-agent-organic). Are you spending paid budget on keywords you already rank in the top 3 for organically? That is direct budget waste. Match by keyword text — even partial matches count.

Retention → Content signal Compare the top content pages (from ds-agent-content) against the churn patterns (from ds-agent-retention). Are high-traffic content pages setting wrong expectations? If the top cancellation reason is "didn't match expectations" and the top traffic pages are aspirational/informational, there may be a content-to-churn pipeline. Note: this analysis is directional, not account-level — flag the pattern if it exists.

Conversion tracking → Everything This is the meta-connection that invalidates other analysis if broken. Check: is the conversion event used in Google Ads the same as real signups? If paid reports a CPA of €5 but the "conversion" is form_submit (not a real signup), the entire paid performance picture is misleading. Cross-reference:

  • Paid "conversions" per day vs Stripe new subscriptions per day
  • If there is a large gap (e.g., 39 "conversions"/day from ads but only 2-3 new Stripe subscriptions/day), the conversion action is wrong. This finding should override all other findings in the report.

Paid dependency in content If ds-agent-content reports that >30% of blog traffic comes from paid (Cross-network or Paid Search), this means the blog is not an organic asset — it is a campaign landing page collection. When ads are paused, blog traffic drops proportionally. Flag this if present.

Document every connection you find, even weak ones. Rank them by business impact.


Step 4 — Write the intelligence report


Marketing intelligence report — [date range]


Subagent findings at a glance
DomainStatusCritical issueMRR impact
Paid mediaGreen / Amber / Red
OrganicGreen / Amber / Red
ContentGreen / Amber / Red
RetentionGreen / Amber / Red

This week's connection

One paragraph. This is the most important section of the report.

Describe the single most significant cross-channel pattern found by combining the four subagent outputs. It must reference at least two different channels. It must have a clear business implication.

Example of a strong connection:

"Paid CPA dropped 18% this month, which looks like a win. But retention data shows that accounts acquired in the same period have a 34% lower 30-day activation rate than the cohort before. The algorithm found a cheaper audience — but it is the wrong one. Every euro saved in acquisition is being lost twice in churn."

Example of a weak connection (do not write like this):

"Paid performance improved while retention needs attention."


The one priority this week

One sentence. One action. Based on the cross-channel connection above.

Not a list. Not three priorities. One.

If there is a genuine tie between two priorities, pick the one with the highest MRR impact and explain why in a single sentence.


Supporting findings by domain

Keep each section to three bullet points maximum. These are the subagent outputs, not additional analysis.

Paid media

  • Finding 1 (with specific numbers)
  • Finding 2 (with specific numbers)
  • Finding 3 (with specific numbers)

Organic

  • Finding 1 (with specific numbers)
  • Finding 2 (with specific numbers)
  • Finding 3 (with specific numbers)

Content

  • Finding 1 (with specific numbers)
  • Finding 2 (with specific numbers)
  • Finding 3 (with specific numbers)

Retention

  • Finding 1 (with specific numbers)
  • Finding 2 (with specific numbers)
  • Finding 3 (with specific numbers)

What to ignore this week

One short paragraph listing the things that look important but are not. Noise reduction is as valuable as signal detection.

Example: "Organic impressions dropped 12% but average position held steady — this is a normal seasonal pattern, not a ranking issue. Do not spend time investigating it."


Tone and output rules

  • The intelligence report should take under 4 minutes to read.
  • Every number must come from the subagent outputs, which come from Dataslayer MCP data. No estimates, no approximations.
  • "The one priority" must be specific enough to act on without a follow-up question. "Improve retention" is not a priority. "Pause the Europe PMax campaign and reallocate €2k/week to the Spain campaign while the audience signals are reviewed" is a priority.
  • If two subagents return conflicting data about the same metric, flag it explicitly — it usually means a tracking issue.
  • If conversion tracking is broken (form_submit counting as signup, or no conversion event configured at all), this IS the #1 finding. All other analysis is built on sand without reliable conversion data. The one priority should be fixing tracking before optimising anything.
  • Write in the same language the user is using.
  • When Stripe data shows cancellations > active subs, do not bury this in the retention section. This is a business survival issue that should dominate "This week's connection" and "The one priority".

Related skills

  • ds-report-pdf — to turn this analysis into a client-ready branded PDF
  • ds-paid-audit — for a deep-dive into paid campaigns only
  • ds-channel-report — for a lighter weekly digest without subagents
  • ds-seo-weekly — for a focused organic analysis
  • ds-content-perf — for a detailed content breakdown
  • ds-churn-signals — for a focused retention analysis

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Ds Brain؟

Use this skill when the user wants a strategic, cross-functional analysis that connects paid, organic, content, and retention into one unified view. This is NOT a weekly summary — it is a decision engine that finds the hidden connections between channels. Activate when the user says "full marketing review", "how is everything doing", "weekly brain", "give me the full picture", "marketing intelligence report", "what should I focus on this week", "retention and acquisition together", "connect the dots across channels", or any request that implies synthesizing all marketing dimensions into one...

لماذا تستخدم Ds Brain على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Ds Brain عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Ds Brain في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/Dataslayer-AI/Marketing-skills/tree/main/skills/ds-brain. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Ds Brain؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Ds Brain؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Ds Brain معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Ds Brain مجانية؟

نعم. نشرها Dataslayer-AI على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇