paperclipai/paperclip / .agents/skills/verify-paperclip
verify-paperclip
VerifiedVerify Paperclip from a source checkout, published npm install, or existing staging or production stack. Select the environment, data state, version, and platform; drive real UI or CLI journeys and capture evidence. Route deployment to the private Cloud skills.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.7 KB |
| references/hosted-qa-accounts.md | markdown | 8.0 KB |
| references/npm-install.md | markdown | 4.2 KB |
| references/verification-targets.md | markdown | 5.3 KB |
| scripts/doctor.pyexecutable | script | 3.7 KB |
| scripts/launch.pyexecutable | script | 2.6 KB |
| scripts/onboarding-smoke.mjsexecutable | script | 4.7 KB |
| scripts/stop.pyexecutable | script | 3.1 KB |
| tests/test_ownership.py | script | 5.9 KB |
scripts/doctor.py
View on GitHub#!/usr/bin/env python3
"""Read-only identity and readiness check for an owned verification launch."""
import argparse
import json
import os
from pathlib import Path
import subprocess
import sys
import urllib.request
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('--evidence-dir', required=True, type=Path)
args = parser.parse_args()
evidence = args.evidence_dir.resolve()
try:
launch = json.loads((evidence / 'launch.json').read_text())
repo = Path(launch['repo']).resolve()
assert repo == Path(__file__).resolve().parents[4], 'Launch belongs to another checkout.'
runtime = json.loads((Path(launch['dataDir']) / 'instances/default/runtime-info.json').read_text())
assert runtime['dashboardUrl'] == launch['url'], 'Runtime URL changed.'
assert runtime['port'] == launch['port'], 'Runtime port changed.'
assert runtime['host'] == '127.0.0.1', 'Expected trusted loopback.'
pid = runtime['pid']
os.kill(pid, 0)
listeners = subprocess.check_output(['lsof', '-nP', f'-iTCP:{launch["port"]}',
'-sTCP:LISTEN', '-t'], text=True).split()
assert set(listeners) == {str(pid)}, 'Port owner does not match runtime PID.'
if sys.platform == 'darwin':
rows = subprocess.check_output(['lsof', '-a', '-p', str(pid), '-d', 'cwd', '-Fn'], text=True).splitlines()
cwd = Path(next(row[1:] for row in rows if row.startswith('n'))).resolve()
else:
cwd = Path(f'/proc/{pid}/cwd').resolve(strict=True)
assert cwd == repo or repo in cwd.parents, 'Port owner cwd belongs to another checkout.'
ancestor = pid
seen = set()
while ancestor != launch['launcherPid']:
assert ancestor > 1 and ancestor not in seen, 'Runtime is not descended from this launch.'
seen.add(ancestor)
ancestor = int(subprocess.check_output(['ps', '-p', str(ancestor), '-o', 'ppid='], text=True).strip())
config = json.loads((Path(launch['dataDir']) / 'instances/default/config.json').read_text())
assert config['database']['mode'] == 'embedded-postgres', 'Expected isolated embedded database.'
assert Path(config['database']['embeddedPostgresDataDir']).resolve().is_relative_to(Path(launch['dataDir'])), 'Database path escaped isolation.'
with urllib.request.urlopen(launch['url'] + '/api/health', timeout=15) as response:
health = json.load(response)
assert health['status'] == 'ok' and health['bootstrapStatus'] == 'ready', 'Instance is not ready.'
assert health['deploymentMode'] == 'local_trusted' and health['authReady'], 'Unexpected auth mode.'
commit = subprocess.check_output(['git', '-C', str(repo), 'rev-parse', 'HEAD'], text=True).strip()
assert health['commit'] == launch['commit'] == commit, 'Served commit differs from checkout/launch.'
with urllib.request.urlopen(launch['url'], timeout=15) as response:
assert response.status == 200 and 'text/html' in response.headers.get('Content-Type', ''), 'Root UI is unavailable.'
with urllib.request.urlopen(launch['url'] + '/api/companies', timeout=15) as response:
companies = json.load(response)
assert isinstance(companies, list), 'Board company access failed.'
result = {'status': 'passed', 'pid': pid, 'cwd': str(cwd), 'url': launch['url'],
'health': health, 'companyIds': [company['id'] for company in companies]}
(evidence / 'doctor.json').write_text(json.dumps(result, indent=2) + '\n')
print(f'PASS: owned PID {pid}, {launch["url"]}, commit {commit}, ready board UI/API.')
except Exception as error:
(evidence / 'doctor-failure.json').write_text(json.dumps({'status': 'failed', 'error': str(error)}, indent=2) + '\n')
raise SystemExit(f'Doctor failed: {error}')
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |