Overview
Type
/init in the input box of any AI SRE session, and the agent switches into an operational onboarding interviewer that walks you through building an operational knowledge base from scratch — your team’s “operational map.” It scans your Flashduty incidents and notification channels, asks you questions, captures the service topology, runbooks, cluster access, and more that you describe into knowledge files, and helps you connect external tools (MCP) when needed.
/init is the starting point for the knowledge base. AI SRE’s diagnostic quality depends directly on how much real knowledge it can read about your systems: the more complete and accurate your Knowledge base is, the faster and more reliably the agent pinpoints root causes. /init is the guided flow that builds that knowledge from zero — and once it’s built, every session loads it automatically.
/init will never write or install anything without your consent. Before anything lands at each phase, it lists exactly “which files will be created/updated,” and only acts after you confirm them one by one. Credentials (tokens, passwords, AK/SK) are never echoed back in plain text in the conversation — only recorded as <recorded (length=N)>. See Safety and consent.When to use /init vs. plain natural language
/init is for structured setup from scratch / systematic backfilling; small, one-off edits don’t need it.
How to run
Type /init in a session
/init in the input box of any AI SRE session and send it. No parameters are required.Confirm the scope
/init first locks the scope it will write to: account level (visible to all sessions in the account) or a specific team level (loaded only in that team’s sessions). The scope is determined by whether the current session is bound to a team, and the agent confirms it with you first; a single session locks one scope and does not switch mid-way.Follow the interview
Confirm each item before it writes
DUTY.md table of contents.Pause or rerun anytime
/init is not a one-shot run — typing /init again at any later point continues backfilling from the existing knowledge.The interview
/init works through a fixed sequence of phases, each with clear entry and exit conditions. You can skip, go back, or stop at any time.
Phase 0 — Lock the scope
Phase 0 — Lock the scope
/init run lands at that team level; if it’s an account-level session, it lands at the account level (visible to all teams). The agent confirms this with you first, and once confirmed the entire session uses that single scope. To switch to a different team’s scope, exit and reopen /init from the target team.Phase 1 — Scan
Phase 1 — Scan
Phase 1.5 — Import from local AI coding tools (optional)
Phase 1.5 — Import from local AI coding tools (optional)
~/.claude/CLAUDE.md, each repo’s CLAUDE.md / AGENTS.md, .cursor/rules, memory stores, and so on. Otherwise (cloud sandbox, or a Runner on another host), the agent hands you two universal prompts to run locally and paste / upload back. Imported content is routed by what it is: operational / service knowledge goes into knowledge-pack files, personal preferences and reusable habits go into agent memory, and duplicate or generic items are dropped. Everything imported is secret-redacted before any preview or write — secrets are never persisted.Phase 2 — Synthesis & correction
Phase 2 — Synthesis & correction
Phases 3–7 — Topic-by-topic collection
Phases 3–7 — Topic-by-topic collection
<workspace>/.kube/<name>.config); clusters.md records only the path, never the token.Phase 8 — Close
Phase 8 — Close
/init anytime picks up where you left off.” The knowledge base itself is the durable result of this session.Safety and consent
/init writes knowledge, may install MCP, and touches credentials, so consent and least privilege are hard constraints:
Per-item explicit consent
Per-item explicit consent
Credentials are never echoed
Credentials are never echoed
Least-privilege credentials
Least-privilege credentials
Minimality
Minimality
What it produces
The result of
/init is a Knowledge base that every subsequent session loads automatically:
DUTY.md— the table-of-contents entry point for the knowledge base, holding only a one-line introduction and a list of@filenamelinks pointing to each topic file;- Topic files —
services.md,topology.md,observability.md,runbooks/<topic>.md,common-failures.md,clusters.md, and so on, where all the substantive content lives; - MCP registrations (optional) — if external tools were connected during the interview, they’re recorded in
tools.mdand the MCP server registration is completed.
/init’s primary output is knowledge, not skills. It does not save content as a Skill unless you explicitly ask. It also does not automatically install Agents — those resources currently need to be added manually in the console./init and /insight: a best-practice pair
/init and /insight are the two ends of the operational-knowledge “build → refine” loop:
/init — build the foundation
/insight — keep refining
Related pages
Manage Knowledge
/init’s output lands — learn the DUTY.md structure, file constraints, and how to edit and maintain it manually.Usage Insights
/insight to review sessions, surface operational friction, and guide ongoing backfilling of the knowledge base.MCP (External Tools)
/init can help you connect during the interview — learn how to connect and manage MCP.