ビジネスコンテキスト(事業に関する背景情報)を記載した詳しいMarkdownファイル(CLAUDE.md / context.md)を作成し、Noibuスキルやclaudeが不正確な情報を生成せず、実際のビジネス情報に基づいて判断できるようにするスキルです。 **次のような場合に使用:** - ビジネスコンテキストファイルを作成・設定・改善したい - 新しい店舗をNoubiにオンボード(利用開始の手引き)したい - 「MDファイルを作成してほしい」「コンテキストファイルを作成したい」「CLAUDE.mdをセットアップしたい」 - AIのために企業情報を記録したい - 「claudeが何度もビジネス情報を間違える」と困っている - より緩い表現で「claudeに事業内容を理解させたい」「店舗情報をAI用に整理したい」「企業について何をclaudeに伝えるべきか」などと言われた場合 - ユーザーがNoubiを始めたばかりでコンテキストファイルがまだない場合 - ユーザーが単に「MDファイルを作成して」「コンテキストをセットアップして」と言った場合 **処理の流れ:** このスキルは、ウェブでビジネス情報を深掘り調査した上で(常に別のエージェント経由で実施)、ユーザーへのインタビューを通じて目標、収益への影響を与える課題、運用プロセス、チーム構成について聞き取ります。その後、きれいなMarkdownファイルを作成し、そのコンテキスト情報をNoubiバックエンドに保存して、対象ドメインで利用できるようにします。
Builds a rich business-context Markdown file (a CLAUDE.md / context.md) so Noibu skills and Claude stop hallucinating and reason with real context about the business. Use this skill whenever someone wants to create, set up, or improve their business context file, onboard a new store to Noibu, 'build my MD file', 'make a context file', 'set up my CLAUDE.md', capture company background for the AI, or asks why Claude keeps getting their business wrong. Also trigger on looser phrasings like 'help Claude understand my business', 'document my store for the AI', 'what should I tell Claude about my company', or when a user is starting with Noibu and has no context file yet. Even if the user just says 'build the MD file' or 'set up context', use this skill. It does deep web research on the business (always via a subagent), interviews the user about goals, money leaks, deployment process, and team setup, writes a clean Markdown file, then persists the context to the Noibu backend for the domain.
Noibu's analytics skills and Claude in general are dramatically more useful when they have real context about the business. Without it, they fall back on generic e-commerce assumptions and produce confidently wrong conclusions — flagging a PDP as "broken" when it has a deliberate minimum-order quantity, or treating B2B abandonment like B2C abandonment. This skill exists to capture that context once, in a single Markdown file the user can load into every session (or ship to their whole team), so nobody has to spend an hour pushing back to get to the truth.
Your job: produce one well-structured CLAUDE.md-style Markdown file by combining
(1) deep web research you run yourself and (2) a focused interview with the user about
things only they know. The output is a file — not a chat answer.
The section-by-section skeleton — and the model for tone, depth, and structure — lives in
references/md-template.md. Read it early; it is both the template to fill in and the
guide to the format the finished file should follow. The full bank of interview questions
lives in references/interview-questions.md.
Do not skip straight to writing the file. The whole value here is that the file is grounded — every claim either comes from research you can point to or from the user directly. Guessing defeats the purpose.
This mode exists to exercise just the two Noibu integration points — the fetch in Step 1 and the persist in Step 7 — without running the generative middle (research, call mining, interview, assembly).
Trigger it when the user explicitly asks for "test mode" (or "persist-only test") and uploads a Markdown file into the chat to use as the context. Do not infer test mode; require the explicit ask.
In test mode:
numId, and call noibu_get_business_context. This is the fetch under test.
Skip the overwrite gate: if a context already exists, just tell the user it will
be overwritten and continue — don't ask permission, since overwriting is the point.noibu_insert_business_context with the numId
from Step 1 as domainNumId and the uploaded file's full contents as fullContent,
exactly as uploaded. Then confirm it's saved to Noibu for <domain>.Everything else in this skill is bypassed in test mode.
Before anything else — before the other setup questions, before research — pin down the domain and find out whether it already has context:
creativebag.com). Confirm you've got the right site ("Just to confirm — this is
[domain-name], the [one-line description]?").noibu_get_domain (fall back to noibu_list_domains). Keep both the
domain UUID (id) and its integer numId — the read uses the UUID, the final
persist uses the numId, so holding both now means no re-resolving later. Then call
noibu_get_business_context with the UUID (domainId).businessContext
with a non-empty fullContent. If it does, tell the user and ask whether to regenerate —
only continue if they say yes (you'll overwrite it at the end). If businessContext is
null, continue.Only once you're cleared to proceed, ask the rest of the setup questions below.
Ask these together in one short batch — they're quick and they shape everything else:
If they don't know the domain or the file is for a business that isn't online yet, adapt — but you almost always need the domain to do useful research.
Now go learn everything publicly knowable about this business. Always run the web
research in a subagent — never do the searching and page-fetching on the main thread.
This is read-heavy work whose value is the conclusion, not the raw pages, so it
belongs in a subagent that returns a structured findings summary (per the monorepo's
context-discipline rule). Dispatch a general-purpose agent (it has WebSearch and
WebFetch); for a broad business, split the work across several agents running in
parallel — e.g. one on company/ownership/history, one on the tech stack and apps, one
on positioning/competitors/brand voice — in a single message so they run concurrently.
Give each subagent: the confirmed company name and domain, the specific questions below to answer, and an instruction to return a skimmable findings summary with sources and an explicit list of what it could not confirm — not pasted page contents. Spend real effort here; this is what keeps the eventual recommendations from being hallucinated.
Aim to answer as many of these as you can from public sources:
myshopify redirects,
cdn.shopify.com, BigCommerce headers, builtwith-style signals, careers pages
mentioning the stack.)Then report back what you found in a short, skimmable summary, and explicitly flag what you couldn't confirm. Tell the user something like: "Here's what I dug up. I couldn't confirm your platform or your payment processor from the outside — those are on my question list. Anything below that's wrong, correct me now." Letting them correct research before the interview is much cheaper than fixing the final file.
Treat every research finding as provisional until the user confirms it. Mark
unconfirmed items as [CONFIRM] in the eventual file rather than stating them as fact.
Only do this if the user said in setup that they record calls and want you to pull them. Skip it entirely otherwise — don't go hunting for transcripts nobody asked for.
When they do want it, this is often the single highest-value input to the whole file. A website tells you how a business markets itself; a sales or success call tells you what's actually true — the customer's real goals, the objections, the dollar figures, the "our checkout is held together with tape" admissions. Mine it well and you'll walk into the interview already knowing half the answers.
How to do it:
Fold transcript findings into the same report-back you give after web research, clearly labeled as coming from calls. Anything a transcript already answered, you can skip or just confirm in the interview rather than asking cold — that's the payoff for mining them.
Research can tell you what the business is. It cannot tell you what the business wants, where it's bleeding money, or how it ships code. That's what the interview is for — and it's the single most important input for keeping future recommendations grounded.
Ask in small, themed batches — not one giant questionnaire. Three or four related
questions at a time, then react to the answers and ask smart follow-ups before moving
to the next theme. This feels like a conversation, surfaces better answers, and lets
you adapt (e.g., if they say "we have no engineers," your deployment follow-ups change
entirely). The full question bank with follow-ups is in
references/interview-questions.md — read it and pull from it; don't ask every
question mechanically.
Default to interactive AskUserQuestion widgets — they make the interview far faster
to answer than a wall of text, so prefer them wherever a question can carry a short menu
of choices. To maximize how often the user gets widgets:
(likely) / (Recommended)) so confirmation is one click.multiSelect when answers aren't mutually exclusive — where money leaks
(checkout / mobile / PDP / cart / search / paid), which KPIs they watch, which
marketing channels they use. One widget, many boxes, instead of a paragraph.AskUserQuestion limit. A batch of 5
spills to prose, so keep batches to 3-4 and split if needed.Cover these themes, roughly in this order:
Keep it human. If an answer opens a door ("paid is killing us"), walk through it before moving on. You don't need an answer to every question — capture what they have, mark the rest, and move on. A shorter honest file beats a padded one full of guesses.
Build the file from references/md-template.md, populated with research + interview
answers, matching the depth and voice its section prompts describe.
Principles that make these files actually work:
[CONFIRM]. Never print a guessed payment
processor or platform as fact. It's better to flag a gap than to seed a future wrong
analysis. Collect these into a short "Items to confirm" list at the very end so the
user can quickly finalize.Filename — always <domain>-context.md. Use the domain name verbatim, lowercased, with
the suffix appended (render www.my-store.com as www.my-store.com-context.md). Don't vary
the suffix — this fixed *-context.md convention is what lets consuming skills find the
file by glob.
Sentinel header — required. Make the very first line of the file a sentinel comment so a reader can identify the document and match it to a domain without parsing the prose:
<!-- noibu-business-context: uuid=<domain-uuid> domain=<domain-name> generated=<YYYY-MM-DD> -->
Use the domain UUID resolved in Step 1 and the bare store domain name. Skills that consume
this file match on this uuid (not the filename), so it must be present and correct — a file
whose sentinel uuid doesn't match the current run is ignored. Put the sentinel above the
# [Company] — Context for Claude title.
Save the file to the user's working folder.
Present the file and give the user three things, briefly:
[CONFIRM] items, so they can finalize quickly.CLAUDE.md.Depending on the above, explain that the business context will load automatically when in the project or for every session in Claude Code.
If there are any [CONFIRM] items in the file, ask them to go through them and you’ll update
the business context.
When finalized, tell the operator the file will now be saved to Noibu’s system so other team members get it automatically.
The saved Markdown file is the local artifact; the backend is where the context lives
so Noibu can use it. The domain was already resolved and the overwrite already cleared
in Step 1, so this is a single write: call noibu_insert_business_context with the
domain's integer numId as domainNumId (NOT the UUID) and the entire Markdown file
as fullContent — exactly as saved, nothing dropped, no splitting or summarizing. The
whole document goes into the one fullContent field. Then tell the user it's saved to Noibu for <domain>.
[CONFIRM].AskUserQuestion widgets with
research-informed options; reserve prose for genuinely open questions (exact numbers,
the "what makes our metrics misleading" narrative).noibu_insert_business_context with the domain's numId (domainNumId) and the entire
Markdown file as fullContent.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。