Skip to content

smixs/osint-skill / osint

Conduct deep OSINT research on individuals. Build full digital footprint, psychoprofile (MBTI/Big Five), career history, social graph with confidence scores. Recursive self-evaluation until completeness threshold is met. Includes internal intelligence (Telegram history, email, vault contacts) before going external. Use when: "osint", "досье", "research person", "find everything about", "пробей", "разведка", "due diligence", "background check", "digital footprint", "найди всё про", "собери информацию", "кто это", "профиль человека". NOT for: company/product research without a named person, competitive analysis, market research, content generation, or general web scraping tasks.

FileKindSize
SKILL.mdskill md22.4 KB
assets/dossier-template.mdmarkdown2.9 KB
references/content-extraction.mdmarkdown3.2 KB
references/platforms.mdmarkdown4.6 KB
references/psychoprofile.mdmarkdown2.9 KB
references/tools.mdmarkdown12.7 KB
scripts/apify.shexecutablescript2.1 KB
scripts/brightdata.shexecutablescript2.1 KB
scripts/diagnose.shexecutablescript6.3 KB
scripts/exa.shexecutablescript3.6 KB
scripts/first-volley.shexecutablescript3.0 KB
scripts/jina.shexecutablescript1.5 KB
scripts/mcp-client.pyexecutablescript3.8 KB
scripts/merge-volley.shexecutablescript1.6 KB
scripts/package.jsonmanifest21 B
scripts/parallel.shexecutablescript1.9 KB
scripts/perplexity.shexecutablescript2.8 KB
scripts/run-actor.shexecutablescript1.7 KB
scripts/run_actor.jsscript9.8 KB
scripts/tavily.shexecutablescript2.3 KB

scripts/perplexity.sh

View on GitHub
#!/bin/bash
# Perplexity API — search + sonar + deep research
# Usage: perplexity.sh search "query"       # Search API (ranked results)
#        perplexity.sh sonar "query"        # Sonar (AI answer + citations)
#        perplexity.sh deep "query"         # Deep Research
set -euo pipefail

API_KEY="${PERPLEXITY_API_KEY:?Set PERPLEXITY_API_KEY}"
CMD="${1:?Usage: perplexity.sh search|sonar|deep <query>}"
QUERY="${2:?Missing query}"

case "$CMD" in
  search)
    # Search API — ranked web results
    curl -s "https://api.perplexity.ai/search" \
      -H "Authorization: Bearer $API_KEY" \
      -H "Content-Type: application/json" \
      -d "{\"query\": [\"$QUERY\"]}" | python3 -c "
import json, sys
d = json.load(sys.stdin)
if 'results' in d:
    for r in d['results'][:10]:
        print(f'🔗 {r.get(\"title\",\"\")}')
        print(f'   {r.get(\"url\",\"\")}')
        print(f'   {r.get(\"snippet\",\"\")[:200]}')
        print()
elif 'error' in d:
    print(f'ERROR: {json.dumps(d[\"error\"])}', file=sys.stderr)
else:
    print(json.dumps(d, indent=2)[:2000])
"
    ;;
  sonar)
    # Sonar API — AI answer with citations
    curl -s "https://api.perplexity.ai/chat/completions" \
      -H "Authorization: Bearer $API_KEY" \
      -H "Content-Type: application/json" \
      -d "{
        \"model\": \"sonar\",
        \"messages\": [{\"role\": \"user\", \"content\": \"$QUERY\"}]
      }" | python3 -c "
import json, sys
d = json.load(sys.stdin)
if 'choices' in d:
    msg = d['choices'][0]['message']
    print(msg.get('content', ''))
    cits = d.get('citations', msg.get('citations', []))
    if cits:
        print('\n--- Sources ---')
        for i, c in enumerate(cits[:10], 1):
            print(f'{i}. {c if isinstance(c, str) else c.get(\"url\", c)}')
elif 'error' in d:
    print(f'ERROR: {json.dumps(d[\"error\"])}', file=sys.stderr)
else:
    print(json.dumps(d, indent=2)[:2000])
"
    ;;
  deep)
    # Deep Research via sonar-deep-research
    curl -s "https://api.perplexity.ai/chat/completions" \
      -H "Authorization: Bearer $API_KEY" \
      -H "Content-Type: application/json" \
      -d "{
        \"model\": \"sonar-deep-research\",
        \"messages\": [{\"role\": \"user\", \"content\": \"$QUERY\"}]
      }" | python3 -c "
import json, sys
d = json.load(sys.stdin)
if 'choices' in d:
    msg = d['choices'][0]['message']
    print(msg.get('content', ''))
    cits = d.get('citations', msg.get('citations', []))
    if cits:
        print('\n--- Sources ---')
        for i, c in enumerate(cits[:15], 1):
            print(f'{i}. {c if isinstance(c, str) else c.get(\"url\", c)}')
elif 'error' in d:
    print(f'ERROR: {json.dumps(d[\"error\"])}', file=sys.stderr)
else:
    print(json.dumps(d, indent=2)[:2000])
"
    ;;
  *)
    echo "Unknown command: $CMD (use search|sonar|deep)" >&2; exit 1
    ;;
esac
add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks.Stars: 115kUpdated Claude CodeCodexVerifiedInstall