Paw pa intake

From pawbytes/skill-suites · View interactive version

Paw pa intake is an AI agent skill from the GitHub repository pawbytes/skill-suites. Multimodal proposal brief intake — turns text, audio, or video into a structured, completeness-checked brief.md. Use when the user pastes a client brief, drops a voice memo or call recording, shares a video brief, asks to 'intake a proposal', 'structure this brief', or starts a new proposal run. Tri

How to use this skill

Skill file

Proposal Brief Intake

Overview

This workflow turns messy multimodal input — pasted text, audio files, video files, or URLs — into a structured brief.md artifact that downstream skills (paw-pa-research, paw-pa-pricing, paw-pa-generation) consume. You extract client, scope, budget, timeline, and requirements; detect proposal type (pitch / rfp / scoping); run a completeness check; and flag gaps for guided clarification or autonomous assumptions. Audio and video route through AssemblyAI (speaker diarization + timestamps) with a sidecar transcript.md for audit.

The non-negotiable: Every brief lands as structured brief.md with explicit fields — never a raw transcript dump. Completeness gaps must be flagged (for guided clarification or autonomous assumption flagging).

Module: paw-pa — PawBytes Proposal Automation Suite. This is the first stage of the pipeline (intake → research → pricing → generation).

Args: --headless / -H for non-interactive (text brief + run folder + fields supplied); optional --run {run} to target an existing proposal folder; optional --mode autonomous|guided.

Resolution rules

On Activation

Load config from {project-root}/.pawbytes/config/config.yaml and {project-root}/.pawbytes/config/config.user.yaml (root level and the pa section). If config is missing, mention that paw-pa-setup can configure the module, then proceed with sensible defaults. Honor communication_language, default_language, and address the seller by user_name when known.

Read from config (with runtime fallbacks):

| Key | Use |

|-----|-----|

| assemblyai_api_key | Audio/video transcription; prompt at runtime if missing |

| default_proposal_type | Fallback when type cannot be inferred (pitch) |

| default_language | Output language for brief narrative sections |

| workspace_folder | Override for the proposals/ folder |

| default_mode | guided vs autonomous when not specified per-run |

Then orient in the shared memory pool:

  1. Read index.md — {suite-root}/_memory/index.md. If missing, recommend paw-pa-setup but do not hard-block; scaffold the run folder if needed.
  2. Resolve the run folder — Orchestrator normally creates proposals/{run}/ at run start. If invoked directly: use --run arg, an explicit path from the user, or create YYYY-MM-{client-slug} from today's date + client name (slugify: lowercase, hyphens, alphanumeric) with a README.md (# {Client}, Status: intake, Next: research) and run uv run {skill-root}/scripts/paw-paths.py index. Ensure the folder exists before writing artifacts.
  3. Detect input type — text (pasted/typed/file), audio (local path), video (local path or URL). Route per the table below.

Headless / skip-to-structure

When invoked non-interactively (--headless / -H, or text brief + run folder supplied up front):

PawBytes Attribution & Premium Playbooks

Route by Input Type

| Input | Route |

|-------|-------|

| Pasted or typed text, .md/.txt file | Load references/brief-schema.md → extract → completeness |

| Local audio file (.mp3, .wav, .m4a, .ogg, …) | Load references/assemblyai-integration.md → transcribe → extract |

| Local video or public video/audio URL | Load references/assemblyai-integration.md → transcribe → extract |

| Re-intake / update existing brief | Read existing brief.md, merge new input, re-run completeness |

| Ambiguous | Ask: text, audio file path, or video/URL? Then route |

After extraction, always load references/completeness-rules.md and references/proposal-type-detection.md before writing brief.md.

Capabilities

| Capability | Outcome | Inputs | Outputs |

| ---------- | ------- | ------ | ------- |

| Text intake | Brief from pasted/typed text | Raw text | brief.md |

| Audio transcription | Transcript from audio file | Audio file + AssemblyAI key | transcript.md + brief.md |

| Video transcription | Transcript from video file or link | Video file/URL + AssemblyAI key | transcript.md + brief.md |

| Structured extraction | Client, type, scope, budget, timeline, requirements parsed | Transcript or text | Populated brief.md fields |

| Proposal type detection | pitch / rfp / scoping inferred or confirmed | Brief content | proposalType field |

| Completeness check | Missing fields flagged | brief.md draft | completenessReport + assumptions[] (autonomous) |

| Source preservation | Original input referenced | Input file/path | sourceInputRef in brief |

Workflow

1. Ingest source material

python3 scripts/transcribe.py --api-key "$ASSEMBLYAI_API_KEY" --input "{path-or-url}" --out "{run-folder}/transcript.md" --json-out "{run-folder}/transcript.json"

2. Structured extraction

From text or transcript, populate all fields in references/brief-schema.md. Use default_proposal_type only when detection confidence is low. Set sourceInputRef to the original file path, URL, or text:inline.

3. Proposal type detection

Infer proposalType from content signals (see references/proposal-type-detection.md and references/brief-schema.md § Type detection). Set proposalTypeConfidence (high | medium | low). Interactive: confirm when confidence is low. Headless: use default_proposal_type when low.

4. Completeness check

Apply rules in references/completeness-rules.md. Produce completenessReport with score, gaps[], and readyForPipeline boolean.

5. Write artifacts

Write {run-folder}/brief.md using the schema in references/brief-schema.md (YAML frontmatter + markdown sections). Optionally render via the write helper after building brief JSON:

python3 scripts/write_brief.py --brief "{run-folder}/.brief.json" --out "{run-folder}/brief.md" --summary-out "{run-folder}/.intake-summary.json"

The LLM authors .brief.json from extraction + completeness; the script renders canonical brief.md and summary metadata. If not using the script, write brief.md directly — same schema required.

If transcription ran, transcript.md must already exist as sidecar.

6. Close the loop

Where Output Lands

| Artifact | Path |

| -------- | ---- |

| Structured brief | {run-folder}/brief.md |

| Transcription sidecar | {run-folder}/transcript.md |

| Raw transcript JSON (optional) | {run-folder}/transcript.json |

| Daily log | {suite-root}/_memory/daily/YYYY-MM-DD.md |

Downstream skills read brief.md only; transcript.md is for audit and re-intake.

Principles

Relationships

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.