# Organization Gap Analysis (`resomnium/organization-gap-analysis`) Actor

Score your org structure against the Cell framework: 5 core functions, 4 accountability layers, 3 traps, 4 skills. Prioritized fixes + a 90-day transition roadmap, delivered as a Markdown report.

- **URL**: https://apify.com/resomnium/organization-gap-analysis.md
- **Developed by:** [Resomnium](https://apify.com/resomnium) (community)
- **Categories:** AI, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / organization analysis report

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Organization Gap Analysis

Get a consultant-grade diagnosis of your organization's structure in minutes. This Actor analyzes your team against the **Cell framework** — a model for how organizations should be structured in the AI age — and delivers a prioritized, actionable report as clean Markdown.

### What you get

Every run produces a full **Resomnium Analysis** report with eight sections:

1. **Configuration Assessment** — what your org actually is today (Single Player, Triad, Full Cell, Legacy Hierarchy, or Hybrid), with evidence from your input
2. **Function Coverage Matrix** — each of the 5 core functions (Clarity, Execution, Narrative, Access, Integrity) scored 1–10, with the key gap and conflict risks
3. **Growth Fit Assessment** — whether your current structure survives your growth plan, and which function breaks first
4. **Accountability Diagnosis** — which of the 4 accountability layers exist and which are missing
5. **Trap Detection** — the 3 anti-patterns: Tool trap (AI without structural change), Halfway trap (headcount cuts without redesign), Avoidance trap (restructuring without accountability)
6. **Skills Readiness** — team-level view across Agency, Integrity, Intelligence, and Taste
7. **Three Priority Recommendations** — strictly ranked, each with what to do, why, and a concrete first step for the next 7 days
8. **Transition Path** — a phased 90-day roadmap from your current state to the target configuration

### How to use it

Describe your organization in the input form. Only one field is required — the description — but the more you provide (team structure, decision-making, pain points, growth plans), the sharper the analysis. You can also paste the text of an org chart or team document.

The report lands in the run's dataset and as an `OUTPUT` Markdown file you can download or pipe into other tools.

**Good input:** "We're a 12-person fintech startup. CEO handles strategy and fundraising, CTO leads 5 engineers, 2 sales reps, 1 customer success, 1 product manager without clear authority, 2 ops. Decisions flow through CEO+CTO consensus. Recently raised Series A, scaling to 35 people in 9 months."

**Weak input:** "500 people, make us better." The analysis quality scales directly with input detail — thin input produces conservative scores and generic recommendations, and the report will say so.

### Who it's for

- **Startup founders** checking whether the founding team's structure survives the next growth phase
- **Small teams (1–15 people)** — where the framework is most actionable; larger orgs get useful directional analysis
- **AI-transformation leads** checking whether AI adoption is actually changing how work is structured, or just adding tools
- **Post-merger teams** mapping function overlaps and accountability gaps
- **Periodic health checks** — run it quarterly and compare reports

### Limitations

- The Cell framework is opinionated: it advocates small, high-accountability teams with explicit function ownership. This is not a neutral survey.
- The analysis works from the snapshot you provide — it has no access to your internal systems.
- One framework lens, applied honestly: where your input is too thin to assess something, the report says so instead of guessing.

### Pricing

One flat charge per delivered report. No subscription, no metered usage, no hidden compute costs. If the analysis fails to generate, you are not charged.

### Input reference

| Field | Required | What to put in it |
|---|---|---|
| Describe your organization | **yes** | Size, structure, roles, challenges — anything relevant |
| Growth context | no | Funding stage, hiring plans, growth targets |
| Organization size | no | People in the core team |
| Team structure | no | Who does what, reporting lines |
| Decision-making process | no | How decisions get made, who has final authority |
| Current pain points | no | What's not working |
| AI adoption level | no | How much AI is used and where |
| Industry / domain | no | e.g. B2B SaaS, fintech, media |
| Org chart / team doc | no | Pasted text of any structural document |

### Output

Markdown report (typically 10,000+ characters) in the dataset (`report` field) and as the run's `OUTPUT` key-value record. Dataset rows also carry run metadata: status, serving model, usage, and latency.

# Actor input Schema

## `description` (type: `string`):

Size, structure, roles, challenges — anything relevant. More detail = sharper analysis.

## `growth_context` (type: `string`):

Where is the org headed? Funding stage, hiring plans, growth targets, or major changes on the horizon.

## `org_size` (type: `string`):

Number of people in the core team, e.g. "5".

## `team_structure` (type: `string`):

Who does what — roles, responsibilities, and reporting lines.

## `decision_making` (type: `string`):

How decisions get made and who has final authority.

## `pain_points` (type: `string`):

What's not working in your current structure.

## `ai_adoption` (type: `string`):

How much AI is used and where.

## `industry` (type: `string`):

e.g. B2B SaaS, fintech, media.

## `document` (type: `string`):

Paste the text content of any org chart, team doc, or structural document.

## Actor input object example

```json
{
  "description": "We're a 4-person B2B SaaS startup. CEO does strategy and fundraising. CTO builds the product solo with AI tools. One marketer does content, one ops person handles finance, legal and HR. CEO makes all final calls. Pre-seed, raising a seed round in 6 months, planning to grow to 8-10 people within a year."
}
```

# Actor output Schema

## `report` (type: `string`):

The full Resomnium Analysis report delivered by this run.

## `runRecords` (type: `string`):

Per-run dataset rows with status, serving model, usage, and latency metadata.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "description": "We're a 4-person B2B SaaS startup. CEO does strategy and fundraising. CTO builds the product solo with AI tools. One marketer does content, one ops person handles finance, legal and HR. CEO makes all final calls. Pre-seed, raising a seed round in 6 months, planning to grow to 8-10 people within a year."
};

// Run the Actor and wait for it to finish
const run = await client.actor("resomnium/organization-gap-analysis").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "description": "We're a 4-person B2B SaaS startup. CEO does strategy and fundraising. CTO builds the product solo with AI tools. One marketer does content, one ops person handles finance, legal and HR. CEO makes all final calls. Pre-seed, raising a seed round in 6 months, planning to grow to 8-10 people within a year." }

# Run the Actor and wait for it to finish
run = client.actor("resomnium/organization-gap-analysis").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "description": "We'\''re a 4-person B2B SaaS startup. CEO does strategy and fundraising. CTO builds the product solo with AI tools. One marketer does content, one ops person handles finance, legal and HR. CEO makes all final calls. Pre-seed, raising a seed round in 6 months, planning to grow to 8-10 people within a year."
}' |
apify call resomnium/organization-gap-analysis --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,resomnium/organization-gap-analysis"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4dbWAGqqDOwl2jvwV/builds/Yhsz9iqJcyPtlmygj/openapi.json
