Skip to content
Agentmart
Submit a tool

dpf-drive-portal-and-observe-build

Use when driving the live DPF portal through the browser — messaging a coworker, clicking through build gates, filling an admin form — or when establishing…

Skill by OpenDigitalProductFactory

IndexedApache-2.0★ 15
Write a review

Chalk Labs

Need help deploying dpf-drive-portal-and-observe-build?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/opendigitalproductfactory-dpf-drive-portal-and-observe-build

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when driving the live DPF portal through the browser — messaging a coworker, clicking through build gates, filling an admin form — or when establishing what the build engine actually did.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dpf-drive-portal-and-observe-build

Tools it pre-approves 15

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(docker
  • logs
  • *)
  • exec
  • Bash(curl
  • Bash(nvidia-smi
  • mcp__claude-in-chrome__navigate
  • mcp__claude-in-chrome__read_page
  • mcp__claude-in-chrome__find
  • mcp__claude-in-chrome__get_page_text
  • mcp__claude-in-chrome__computer
  • mcp__claude-in-chrome__form_input
Show 3 more
  • mcp__dpf__resolve_model_selection
  • mcp__dpf__get_build_sandbox_state
  • mcp__dpf__list_build_activity_since

What's inside

Skill name
dpf-drive-portal-and-observe-build
Description
Use when driving the live DPF portal through the browser — messaging a coworker, clicking through build gates, filling an admin form — or when establishing what the build engine actually did.
License
Apache-2.0
Allowed tools
Bash(docker, logs, *), Bash(docker, exec, *), Bash(curl, *), Bash(nvidia-smi, *), mcp__claude-in-chrome__navigate, mcp__claude-in-chrome__read_page, mcp__claude-in-chrome__find, mcp__claude-in-chrome__get_page_text, mcp__claude-in-chrome__computer, mcp__claude-in-chrome__form_input, mcp__dpf__resolve_model_selection, mcp__dpf__get_build_sandbox_state, mcp__dpf__list_build_activity_since
Instructions
182 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands
  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# DPF Drive Portal & Observe Build

**Two skills in one, because they're always used together: (A) reliably *drive* the live DPF portal through Claude-in-Chrome, and (B) *observe* what the build/inference engine is actually doing.** Both are full of non-obvious mechanics that cost a live session hours of DOM trial-and-error and false "it's broken" diagnoses. This skill encodes them so the next session drives and observes on the first try.

The driving rules satisfy `never-ask-user-to-run-commands` (the agent operates the UI; it never hands the click to the operator). The observation rules satisfy `evidence-before-diagnosis` and `check-tool-signals-first` (read the logs/DB/tool result before naming a cause) and `structural-verification-is-not-functional` (the UI rendering is not proof the mutation landed — verify the data).

## When to use

- Sending a coworker a message, clicking through a build's gates, or filling an admin form on the live portal via the browser.
- Diagnosing a build that looks stuck, a coworker that "didn't respond", a tool call that failed, or a phase that won't advance.
- Answering "which model/provider/engine ran this phase?" or "why did the local model time out?".
- Before driving a build at all — resolve the model selection so you know what *should* run (`resolve_model_selection`).

## When NOT to use

- Pure source-local work (typecheck, vitest) with no live portal interaction.
- Functional-verification *gating* — that's `dpf-verify-on-live-install` (run the preflight first; this skill is the driving/observation mechanics you use *after* CAN-TEST).
- A web app that has its own dedicated MCP — use that, not raw DOM driving.

---

## Part A — Driving the portal via Claude-in-Chrome

### A1. Real keystrokes for React inputs — `form_input` silently no-ops

DPF inputs are React-controlled. `form_input` sets the DOM `value` attribute but **does not fire React's `onChange`**, so React's internal state stays empty. A subsequent **Send / Submit reads the empty React state and no-ops** — the message never sends, the form never submits, and there is *no error*. This is the single most expensive trap: a coworker message silently failed this exact way until corrected.

**Do this instead:** focus the field, then type real keystrokes.

```
mcp__claude-in-chrome__find         { text: "Message", ... }     # get the input's ref
mcp__claude-in-chrome__computer     { action: "left_click", ref }  # focus it
mcp__claude-in-chrome__computer     { action: "type", text: "..." } # real keystrokes → fires onChange
# now the Send button reads populated React state
```

`form_input` is acceptable only for plain uncontrolled inputs — when in doubt on a DPF page, assume React and type.

### A2. Navigate → discover refs → act. Never guess coordinates.

```
mcp__claude-in-chrome__navigate     { url: "http://localhost:3000/..." }
mcp__claude-in-chrome__read_page    { filter: "interactive" }   # or find { text/role }
# act on the returned element refs (click/type by ref), not by pixel coordinates
```

`read_page filter=interactive` enumerates the actionable elements with stable refs. `find` locates one element by text/role. Coordinate-guessing breaks on the next re-render.

### A3. Screenshots TIME OUT on live pages — read text instead

`screenshot` waits for `document_idle`, which a live-updating page (a running build, a streaming coworker reply, anything polling) **never reaches**, so the call times out. Use `get_page_text` or `read_page` for state. Reserve screenshots for static pages.

### A4. Native `confirm()` / `alert()` cannot be dismissed by automation

A native browser `confirm()` / `alert()` dialog **blocks CDP** — the automation channel times out and cannot click OK/Cancel. Do **not** retry into the timeout. Either a human dismisses it, or the flow needs the in-app-modal fix (an in-DOM modal the browser tools *can* drive). **Flag this and stop**; file a BI for the native-dialog surface rather than burning retries.

### A5. First click while hydrating → no-op. Verify, then re-drive.

A click that lands before React finishes hydrating is swallowed. The page looks right but nothing happened. Pattern: after navigating, give the page a beat, drive the action, then **verify the result** (A6) — if the mutation didn't land, re-drive once.

### A6. ALWAYS verify a mutation via DB/logs, not the UI alone

The UI can lag, optimistic-render, or no-op during hydration. "The toast appeared" / "the field shows my text" is **not** proof the write happened (`structural-verification-is-not-functional`). Confirm the mutation in the source of truth:

```
docker logs dpf-portal-1 --since 2m | <grep for the route/tool/write>
docker exec dpf-postgres-1 psql -U postgres -d dpf -c "select ... from \"<Table>\" where ..."
```

Only after the DB/log confirms the row/state changed do you report the action as done.

### A7. NEVER submit a form by DOM index — forms[0] on every shell page is Sign out

The shell header renders an invisible `<form action={signOutAction}>` (the Sign out button) on **every** authenticated shell page, so `document.querySelector('form')` / `document.forms[0]` is the **sign-out server action**, not the page's editor form. Submitting it deliberately expires the session cookie and redirects to `/login` — with **zero errors in the portal logs**, because it is a clean sign-out. Editor forms (e.g. the wiki page editor) often have **no `action` attribute at all** (React `onSubmit`), making them look *less* like "the form" to naive selectors. This produced a false P1 outage report ("every server-action POST invalidates the session", BI-FFF8F0DA): deterministic, reproduced across fresh logins, and entirely an artifact of the repro method.

**Do this instead:** locate the form via its visible submit button, never by index:

```js
const save = [...document.querySelectorAll('button')].find(b => b.textContent.trim() === 'Save');
save.closest('form').requestSubmit(save);   // or simply click the button
```

If a session unexpectedly lands on `/login` with the cookie gone and no auth errors logged, suspect an accidental sign-out submit before suspecting the auth stack.

---

## Part B — Observing build & inference architecture (where the truth lives)

### B1. Build lifecycle phases

`ideate → plan → design-review → plan-review → build → review → ship`.

- **Phase + step:** `FeatureBuild.phase` and `buildExecState->>'step'` (JSON) tell you where a build is.
- **Event stream:** `BuildActivity` rows carry the phase-transition and tool events over time. The `list_build_activity_since` MCP tool reads this without raw SQL.
- **Sandbox view:** `get_build_sandbox_state` returns the build's runtime/sandbox status for an agent.

```
docker exec dpf-postgres-1 psql -U postgres -d dpf -c \
  "select id, phase, \"buildExecState\"->>'step' as step, status from \"FeatureBuild\" order by \"updatedAt\" desc limit 5"
```

### B2. Coworker tool-use + inference truth is in the PORTAL LOGS

`docker logs dpf-portal-1` is the ground truth for what the model and tools actually did. Key markers:

| Log marker | Tells you |
|---|---|
| `[agentic-tool] CALL tool=… ` / `RESULT tool=…` | The model *did* request a tool and what it got back |
| `[agentic-loop] provider=local model=…` | Which provider/model the agentic loop is running |
| `[callWithFallbackChain] local failed: …` | Local inference failed (timeout / 502) → fell back; the cause is here |
| `[kernel-gate-trace]` | Kernel-gate decision trace (why a gate passed/blocked) |

**Standing thesis (verify before blaming the model):** the model usually tool-calls correctly. Failures are usually **tool / timeout / config**, not the model "being dumb." Read the `[agentic-tool]` and `[callWithFallbackChain]` lines first — `check-tool-signals-first`.

```
docker logs dpf-portal-1 --since 10m 2>&1 | Select-String "agentic-tool|agentic-loop|callWithFallbackChain|kernel-gate-trace"
```

### B3. Model selection — resolve it BEFORE driving a build

From OpenDigitalProductFactory/opendigitalproductfactory, Apache-2.0.

Signals

Stars
15
Forks
4
Open issues
40
Last commit (this folder)
Sep 26, 2026 (1 month ago)
Last release
Oct 24, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get dpf-drive-portal-and-observe-build running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying dpf-drive-portal-and-observe-build?

CallGet help
Cite this page

dpf-drive-portal-and-observe-build skill. Agent Mart. https://agentmart.dev/skills/opendigitalproductfactory-dpf-drive-portal-and-observe-build (last updated 2026-10-24)