Your first Procedure
Write one useful Procedure with your AI, share it, get it approved, and run it.
Last verified: 2026-09-28
This tutorial walks a Member through creating, repairing, sharing, and running one useful CompanyOS Procedure. Owners approve the Share Request that makes it Workspace-wide, and can author Company content directly.
Finish the Quickstart first so your AI Client can read real Workspace knowledge while you write.
What you are building
A CompanyOS Procedure is a Workspace-wide internal instruction record. It tells an AI Client how to produce a repeatable output for Members using visible knowledge and the client’s own tools. It is not a template. It gives input guidance and output rules. It does not embed a tool script, execute actions on your behalf, or rewrite source files.
You will:
- Use the seeded System Procedure Create a Procedure.
- Declare Required Inputs (and fix any Missing Requirements).
- Store the content as your Personal draft with
store_procedure. - Share it and let an Owner approve the Share Request.
- Complete a first run of the published Procedure.
Before you start
- You are a Member of the Workspace. Every Member authors Personal Procedures; an Owner approves sharing and edits Company content.
- The Quickstart is done: at least one ready file, one connected AI Client, and one grounded answer.
- Your AI Client is connected to the Workspace.
Step 1 — Start from the System Procedure
CompanyOS seeds protected System Procedures into every Workspace. They are published by default and cannot be archived, deleted, or edited by Members or Owners.
- In your AI Client, open or search for the System Procedure Create a Procedure.
- Follow its guidance conversationally. Tell it what repeated work you want to capture (for example, a weekly status update, interview prep brief, or launch checklist).
- Prefer a task your team already repeats. The goal is one useful workflow, not a perfect catalog.
The System Procedure teaches the AI Client to gather requirements, shape output rules, and store the content with store_procedure.
Step 2 — Declare Required Inputs and repair gaps
A Required Input is information the Procedure must have before an AI Client may produce the output. Attach Input Source Hints when useful (Member in chat, a CompanyOS Knowledge Tool, or a connected read-only provider).
- Review the content stored by
store_procedure. - List every Required Input explicitly—do not leave “implied” inputs.
- If the content has a Missing Requirement,
store_procedurereturns the gap with repair guidance, and the web app shows the same gap. - Repair it by asking the AI Client to store the content again, until every Required Input and the output structure are complete. The web app does not edit content; its Edit button gives you a prompt to paste into your AI Client.
A Template can shape a repeated Member-facing output. Linking one is optional for this first tutorial; you can share a standalone Procedure. The Procedure stays the instruction. The Template stays the shape.
Step 3 — Store your Personal draft
store_procedure creates or updates your content. A new slug becomes a Personal draft owned by you; only your own AI Client sees it.
- Store the Procedure with slug, title, description, and markdown.
- Review the returned
scope(personal),state(draft), andlink. - Follow the link to review the draft as a human: tone, Required Inputs, output rules, and any linked Template.
- Confirm nothing sensitive or incorrect would reach the Workspace when shared.
Step 4 — Share and get Owner approval
Sharing moves your Personal content into the Workspace; only an Owner approves or rejects it.
- Set
share: truewhen storing, or choose Share on your draft in the web app. The request carries every Personal Template the Procedure links. - An Owner opens the Approvals section, sees you as the requester with the shared Templates, and approves or rejects.
- Approval moves the content to Company scope and publishes it; rejection returns it to your Personal draft for repair.
Owners skip the queue for their own content: an Owner’s share request is approved in the same request, and Owners update Company content directly from their AI Client.
Step 5 — First run
- In any Member’s connected AI Client, discover the published Procedure with
find_proceduresand read it in full withuse_procedure. - Supply every Required Input when asked. The AI Client should refuse to produce the final output until Required Inputs are satisfied.
- Let the client use visible Workspace knowledge and its own tools to produce the output according to the Procedure’s rules.
- Check the result once end-to-end. That first run is the proof the workflow is real.
Member path: run a published Procedure
Members run published Company content and keep their own Personal Procedures:
- Connect an AI Client if you have not already (Quickstart).
- Ask to run the named CompanyOS Procedure, or call
find_proceduresto list visible Procedures. - Provide Required Inputs and review the grounded output.
What not to expect
- Procedures do not silently send email, mutate Integrations, or rewrite Company Files.
- System Procedures stay CompanyOS-managed; do not try to edit Create a Procedure or Create a Template.
- Another Member’s Personal content stays private to that Member, including from Owners, until it is shared.
- To run the Procedure on a schedule and email the result, see Scheduled Procedures.