Skip to content
Agentmart
Submit a tool

mucker-dashboard

Build modular dashboard plugins, custom panels, or rebuild the entire Mucker Dashboard SPA for Android OkHttp network inspection and mocking using REST API…

Skill by yongjhih

IndexedMIT
Write a review

Chalk Labs

Need help deploying mucker-dashboard?

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/yongjhih-mucker-dashboard

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

Build modular dashboard plugins, custom panels, or rebuild the entire Mucker Dashboard SPA for Android OkHttp network inspection and mocking using REST API and Chrome DevTools Protocol (CDP) WebSocket.

Use cases: backend, data

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/mucker-dashboard

What's inside

Skill name
mucker-dashboard
Description
Build modular dashboard plugins, custom panels, or rebuild the entire Mucker Dashboard SPA for Android OkHttp network inspection and mocking using REST API and Chrome DevTools Protocol (CDP) WebSocket.
License
MIT
Instructions
176 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Mucker Dashboard Development & Modularity Guide

This skill guides AI agents and developers in creating modular plugins, custom panels, or completely new custom frontends for **Mucker** (the zero-cert CDP-compatible OkHttp mock engine for Android).

---

## 1. Architectural Overview

Mucker adopts a headless, protocol-first design:
* **Backend**: An embedded NanoHTTPD micro-server running inside the Android debug process (default port: `8080`).
* **CORS**: Fully open (`Access-Control-Allow-Origin: *`), allowing any frontend (Vite, Next.js, local files) to connect directly.
* **REST API**: Provides JSON CRUD endpoints for mock rules, traffic history, and breakpoint state.
* **WebSocket (`/devtools/page`)**: Bi-directional event stream compatible with the Chrome DevTools Protocol (CDP) **Fetch Domain** (`Fetch.requestPaused`, `Fetch.fulfillRequest`, `Fetch.continueRequest`).
* **Static Asset Host**: The server serves static files located in Android assets `mucker-web/` (i.e., `mucker/src/main/assets/mucker-web/index.html`).

---

## 2. When to Use This Skill

Activate this skill when:
- Adding custom panels or tabs to the existing Mucker Dashboard (e.g. GraphQL inspector, Chaos latency injector, HAR exporter).
- Building an entirely new frontend using React, Vue, Svelte, or SolidJS to manage Mucker mock rules.
- Embedding a custom web dashboard into the Android library APK.
- Automating dashboard interactions with headless scripts.

---

## 3. Developing Modular Plugins for the Default Dashboard

The default dashboard (`dashboard/index.html`) supports dynamic plugin registration.

### Plugin Interface Structure

```javascript
window.MuckerDashboard.registerPlugin({
  id: 'plugin-id',              // Unique string
  name: 'Plugin Name',          // Rendered tab/menu title
  icon: '⚡',                    // Emoji or SVG markup
  
  // Lifecycle hooks:
  init(container, state) {
    // Render custom UI into `container`
  },
  onRequest(record) {
    // Fired when an OkHttp request is intercepted
  },
  onResponse(record) {
    // Fired when an OkHttp response completes
  }
});
```

### Example: Custom Latency & Chaos Plugin
```javascript
window.MuckerDashboard.registerPlugin({
  id: 'chaos',
  name: 'Chaos Engine',
  icon: '🎲',
  init(container, state) {
    container.innerHTML = `
      <div class="card p-4">
        <h3>Network Chaos Engine</h3>
        <p>Inject latency and error rates dynamically.</p>
        <button id="btnFlaky" class="btn btn-warning">Simulate 500 Server Error</button>
      </div>
    `;
    container.querySelector('#btnFlaky').addEventListener('click', async () => {
      await fetch('/api/rules', {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify({
          id: 'chaos_error',
          urlPattern: '.*',
          method: 'ALL',
          statusCode: 500,
          responseBody: '{"error": "Simulated Chaos Outage"}',
          isEnabled: true
        })
      });
      showToast('Simulated 500 rule applied!', 'warning');
    });
  }
});
```

---

## 4. Interactive Timeline & Programmatic API

The dashboard includes a high-performance Canvas waterfall timeline with interactive time range selection and zooming:
* **Interactive Interval Brush**: Click and drag to create a time filter window; drag the window body or resize handles to filter requests in real time.
* **Zoom Controls**: Mouse wheel zoom, `[+]` Zoom In (1.35x), `[−]` Zoom Out (1.35x), and `[Fit All]` buttons.
* **Programmatic Control**: Use `window.MuckerDashboard.timeline`:
  ```javascript
  const { timeline } = window.MuckerDashboard;
  timeline.zoom(0.67);                      // Zoom in
  timeline.fitAll();                         // Fit all traffic in view
  timeline.setSelection(startMs, endMs);     // Filter to time range
  timeline.clearSelection();                 // Clear filter
  timeline.highlightRequest('req_123');      // Highlight request bar
  ```

---

## 5. Building a Custom Dashboard from Scratch

### Connection Checklist
1. **ADB Port Forwarding**:
   ```bash
   adb forward tcp:8080 tcp:8080
   ```
2. **API Base URL**: `http://localhost:8080` (or `http://<device-ip>:8080` if on same Wi-Fi).
3. **WebSocket URL**: `ws://localhost:8080/devtools/page`.

### REST Endpoints
* `GET /api/status`: Engine metrics and client counts.
* `GET /api/rules`: Array of all active mock rules.
* `POST /api/rules`: Add/update rule (`{ id, urlPattern, method, statusCode, delayMs, responseBody, responseHeaders, isEnabled }`).
* `DELETE /api/rules?id=<id>`: Remove rule.

From yongjhih/mucker, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 26, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from yongjhih

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 mucker-dashboard 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 mucker-dashboard?

CallGet help
Cite this page

mucker-dashboard skill. Agent Mart. https://agentmart.dev/skills/yongjhih-mucker-dashboard (last updated 2026-10-24)