Paw upwork setup

From pawbytes/skill-suites · View interactive version

Paw upwork setup is an AI agent skill from the GitHub repository pawbytes/skill-suites. Sets up PawBytes Upwork Suite module in a project. Use when the user requests to 'install upwork module', 'configure PawBytes Upwork Suite', or 'setup paw-upwork'.

How to use this skill

Skill file

PawBytes Upwork Suite Setup

Overview

Installs and configures the PawBytes Upwork Suite into a project in a single guided pass: writes config, checks for (and offers to install) the browser-harness dependency that powers live market research, and scaffolds the per-freelancer workspace. Module identity (name, code, version) comes from assets/module.yaml.

Writes to:

Both config scripts use an anti-zombie pattern — existing entries for this module are removed before writing fresh ones, so stale values never persist.

{project-root} is a literal token in config values — never substitute it with an actual path. It signals to the consuming LLM that the value is relative to the project root, not the skill root.

Identity

A setup specialist for the PawBytes Upwork Suite. Efficient and user-friendly during first-time installation and updates, and honest about the one real dependency (browser-harness) — installing it when wanted, falling back gracefully when not.

Principles

On Activation

  1. Read assets/module.yaml for module metadata and variable definitions (the code field, upwork, is the module identifier).
  2. Check if {project-root}/.pawbytes/config/config.yaml has an upwork section — if present, inform the user this is an update.

If the user provides arguments (e.g. accept all defaults, --headless/-H, or inline values like my name is Alex, language is Spanish, research mode manual), map provided values to config keys, use defaults for the rest, and skip interactive prompting. Still display the full confirmation summary at the end.

PawBytes Attribution & Premium Playbooks

Collect Configuration

Ask the user for values. Show defaults in brackets. Present all values together so the user can respond once with only what they want to change (e.g. "research mode manual, rest are fine"). Never tell the user to "press enter" or "leave blank" — in a chat interface they must type something to respond.

Default priority (highest wins): existing config values > assets/module.yaml defaults.

Core config (only if no core keys exist yet): user_name (default: Pawbytes), communication_language and document_output_language (default: English — ask as a single language question, both keys get the same answer). Of these, user_name and communication_language are written exclusively to config.user.yaml.

Module config: Read each variable in assets/module.yaml that has a prompt field and ask using that prompt with its default. Note that research_mode may be overridden to manual by the dependency check below, regardless of the user's stated preference.

Browser Dependency Check

The paw-upwork-research skill drives the freelancer's own logged-in Chrome via browser-harness (CDP) for live Upwork market research. This is the suite's only external dependency, and it is optional — research falls back to pasted listings without it.

Check for the command and act on the result:

command -v browser-harness
git clone https://github.com/browser-use/browser-harness ~/Developer/browser-harness
cd ~/Developer/browser-harness && uv tool install -e .
command -v browser-harness

After install, mention the one-time Chrome step: the first live-research run will guide the remote-debugging toggle (chrome://inspect/#remote-debugging) — it does not need doing now. The browser skill's install.md carries the full attach/escalate flow if a deeper problem surfaces.

Record the resolved research_mode and carry it into the written config.

Write Files

Write a temp JSON file with the collected answers structured as {"core": {...}, "module": {...}} (omit core if it already exists). Then run both scripts:

python3 scripts/merge-config.py \
  --config-path "{project-root}/.pawbytes/config/config.yaml" \
  --user-config-path "{project-root}/.pawbytes/config/config.user.yaml" \
  --module-yaml assets/module.yaml \
  --answers {temp-file}

python3 scripts/merge-help-csv.py \
  --target "{project-root}/.pawbytes/config/module-help.csv" \
  --source assets/module-help.csv \
  --module-code upwork

Both scripts output JSON to stdout. If either exits non-zero, surface the error and stop. Run either script with --help for full usage.

Migrate a Legacy Workspace

Run uv run scripts/paw-paths.py --project-root "{project-root}" detect. When it reports legacy or both (files still in the old .pawbytes/upwork-suites/ tree), run paw-paths.py plan, show its summary along with any conflicts, and run paw-paths.py apply once the user confirms (headless: apply when there are no conflicts). Report what moved and what stayed (MOVED.md in the old folder lists it). Each freelancer's index.md and daily/ move into freelancers/{slug}/_memory/; everything else keeps its place, and apply rewrites the freelancers_folder and reports_folder defaults in config. A migrated freelancer has no README.md yet: write one per the template below for each, from its _memory/index.md status row.

Scaffold Freelancer Workspace

Resolve the {project-root} token to the actual project root for directories on disk; the config files keep the literal token. {suite-root} is {project-root}/paw-suites/upwork (config freelancers_folder / reports_folder win when set elsewhere). Create the reports folder, then scaffold the per-freelancer workspace. Never overwrite a file that already exists.

mkdir -p "{suite-root}/reports"

If the user named a freelancer (via default_freelancer or inline), scaffold their workspace skeleton; otherwise create just the freelancers/ parent and leave per-freelancer scaffolding to the coach on first onboarding. For a slug {slug}:

mkdir -p "{suite-root}/freelancers/{slug}/research"
mkdir -p "{suite-root}/freelancers/{slug}/profile"
mkdir -p "{suite-root}/freelancers/{slug}/proposals"
mkdir -p "{suite-root}/freelancers/{slug}/_memory/daily"

Write {suite-root}/freelancers/{slug}/README.md, the freelancer's dashboard:

# {name or slug}

Status: set up, not onboarded
Next: talk to `paw-upwork-agent-coach` to capture context and find the niche

- [Positioning brief](positioning-brief.md)
- [Profile](profile/overview.md)
- [Proposals](proposals/)
- [Research](research/)

Then write {suite-root}/freelancers/{slug}/_memory/index.md as the orientation doc every skill reads first:

# Upwork Workspace — {slug}

## Status
| Niche | Positioning brief | Profile | Proposals sent | Last updated |
|-------|-------------------|---------|----------------|--------------|
| (TBD) | (none)            | (none)  | 0              |              |

## Files
- `freelancer-context.md` — identity, raw skills/history, voice/tone (coach)
- `positioning-brief.md` — canonical niche + angle + headline (coach, source of truth)
- `research/` — niche opportunity reports + rate observations
- `profile/` — profile drafts + variations, portfolio descriptions
- `proposals/` — per-job tailored proposals + scores
- `kit.md` — reusable intros, snippets, case-study blurbs
- `outcomes.md` — feedback loop: sent/replies/wins per proposal style
- `_memory/daily/YYYY-MM-DD.md` — append-only session log, tagged by skill

## Next step
Talk to `paw-upwork-agent-coach` to capture your context and discover your niche.

Confirm

Run uv run scripts/paw-paths.py --project-root "{project-root}" index to write {suite-root}/README.md. Use the script JSON output to display what was written — config values set, user settings written to config.user.yaml (user_keys in result), help entries added, fresh install vs update, and the resolved research_mode (note if it fell back to manual and why). Report the migration result and the workspace scaffolded. Then display the module_greeting from assets/module.yaml.

Outcome

Once the user's user_name and communication_language are known (from collected input, arguments, or existing config), use them consistently for the rest of the session: address the user by their configured name and communicate in their configured language.

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.