Home · Skills · Development
Image Analyzer - AI Image Analysis
Analyze images with AI - extract text, describe content, detect objects
How to use it
- Hit Copy the whole skill.
- Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
ChatGPT: make a Project and paste it into Instructions.
Neither? Paste it at the top of a new chat — it works for that chat. - Describe your job in plain words. The AI follows the skill from there.
npx degit gooseworks-ai/goose-skills/skills/research-tools/capabilities/image-analyzer#main ~/.claude/skills/image-analyzerFor one project only, change the path to .claude/skills/image-analyzer.
Not working?
- Check which app you pasted it into — the steps above name the right one.
- Some skills need the paid tier of Claude or ChatGPT.
Paste into Claude, ChatGPT or Cursor.
Show the full text125 lines
Image Analyzer - AI Image Analysis
Setup
Read your credentials from ~/.gooseworks/credentials.json:
export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")
If ~/.gooseworks/credentials.json does not exist, tell the user to run: npx gooseworks login
All endpoints use Bearer auth: -H "Authorization: Bearer $GOOSEWORKS_API_KEY"
Analyze images to extract text, describe content, and detect objects using AI.
Workflow
Step 1: Get Image from URL
Fetch image content:
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"linkup","path":"/fetch","body":{"url":"https://example.com/image.jpg"}}'
Step 2: Extract Text (OCR)
Use AI to extract text from images:
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"scrapegraph","path":"/v1/smartscraper"}'
"website_url": "https://example.com/screenshot.png",
"user_prompt": "Extract all visible text from this image"
}'
Step 3: Extract Structured Data
Get specific data from images:
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"riveter","path":"/v1/run"}'
"input": {
"urls": ["https://example.com/receipt.jpg"]
},
"output": {
"store_name": {"prompt": "Store name", "contexts": ["urls"]},
"date": {"prompt": "Date", "contexts": ["urls"]},
"items": {"prompt": "Items with names and prices", "contexts": ["urls"]},
"total": {"prompt": "Total amount", "contexts": ["urls"]}
}
}'
Step 4: Capture Website Screenshots
Get screenshots of web pages:
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"brand-dev","path":"/v1/brand/screenshot","query":{"domain":"stripe.com"}}'
Example Usage
# Extract receipt data
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"scrapegraph","path":"/v1/smartscraper"}'
"website_url": "https://example.com/receipt.jpg",
"user_prompt": "Extract store name, date, all items with prices, and total amount"
}'
# Get website screenshot
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"brand-dev","path":"/v1/brand/screenshot","query":{"domain":"openai.com"}}'
Tips
- Use clear, high-resolution images
- Specify exact data needed for extraction
- Combine with OCR for text-heavy images
- Use screenshots for website analysis
Discover More
List all endpoints, or add a path for parameter details:
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/search \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"brand-dev API endpoints"}' api show linkup
curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/search \
-H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"riveter API endpoints"}' api show scrapegraph
Example: curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/details \ -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"api":"olostep","path":"/v1/scrapes"}' for endpoint parameters.
| 1 | |
| 2 | name image-analyzer |
| 3 | description Analyze images with AI - extract text, describe content, detect objects |
| 4 | source orthogonal |
| 5 | |
| 6 | |
| 7 | |
| 8 | # Image Analyzer - AI Image Analysis |
| 9 | |
| 10 | ## Setup |
| 11 | |
| 12 | Read your credentials from ~/.gooseworks/credentials.json: |
| 13 | |
| 14 | export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])") |
| 15 | export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))") |
| 16 | |
| 17 | |
| 18 | If ~/.gooseworks/credentials.json does not exist, tell the user to run: `npx gooseworks login` |
| 19 | |
| 20 | All endpoints use Bearer auth: `-H "Authorization: Bearer $GOOSEWORKS_API_KEY"` |
| 21 | |
| 22 | |
| 23 | Analyze images to extract text, describe content, and detect objects using AI. |
| 24 | |
| 25 | ## Workflow |
| 26 | |
| 27 | ### Step 1: Get Image from URL |
| 28 | Fetch image content: |
| 29 | |
| 30 | |
| 31 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \ |
| 32 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 33 | -H "Content-Type: application/json" \ |
| 34 | -d '{"api":"linkup","path":"/fetch","body":{"url":"https://example.com/image.jpg"}}' |
| 35 | |
| 36 | |
| 37 | ### Step 2: Extract Text (OCR) |
| 38 | Use AI to extract text from images: |
| 39 | |
| 40 | |
| 41 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \ |
| 42 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 43 | -H "Content-Type: application/json" \ |
| 44 | -d '{"api":"scrapegraph","path":"/v1/smartscraper"}' |
| 45 | "website_url": "https://example.com/screenshot.png", |
| 46 | "user_prompt": "Extract all visible text from this image" |
| 47 | }' |
| 48 | |
| 49 | |
| 50 | ### Step 3: Extract Structured Data |
| 51 | Get specific data from images: |
| 52 | |
| 53 | |
| 54 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \ |
| 55 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 56 | -H "Content-Type: application/json" \ |
| 57 | -d '{"api":"riveter","path":"/v1/run"}' |
| 58 | "input": { |
| 59 | "urls": ["https://example.com/receipt.jpg"] |
| 60 | }, |
| 61 | "output": { |
| 62 | "store_name": {"prompt": "Store name", "contexts": ["urls"]}, |
| 63 | "date": {"prompt": "Date", "contexts": ["urls"]}, |
| 64 | "items": {"prompt": "Items with names and prices", "contexts": ["urls"]}, |
| 65 | "total": {"prompt": "Total amount", "contexts": ["urls"]} |
| 66 | } |
| 67 | }' |
| 68 | |
| 69 | |
| 70 | ### Step 4: Capture Website Screenshots |
| 71 | Get screenshots of web pages: |
| 72 | |
| 73 | |
| 74 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \ |
| 75 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 76 | -H "Content-Type: application/json" \ |
| 77 | -d '{"api":"brand-dev","path":"/v1/brand/screenshot","query":{"domain":"stripe.com"}}' |
| 78 | |
| 79 | |
| 80 | ## Example Usage |
| 81 | |
| 82 | |
| 83 | # Extract receipt data |
| 84 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \ |
| 85 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 86 | -H "Content-Type: application/json" \ |
| 87 | -d '{"api":"scrapegraph","path":"/v1/smartscraper"}' |
| 88 | "website_url": "https://example.com/receipt.jpg", |
| 89 | "user_prompt": "Extract store name, date, all items with prices, and total amount" |
| 90 | }' |
| 91 | |
| 92 | # Get website screenshot |
| 93 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \ |
| 94 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 95 | -H "Content-Type: application/json" \ |
| 96 | -d '{"api":"brand-dev","path":"/v1/brand/screenshot","query":{"domain":"openai.com"}}' |
| 97 | |
| 98 | |
| 99 | ## Tips |
| 100 | |
| 101 | Use clear, high-resolution images |
| 102 | Specify exact data needed for extraction |
| 103 | Combine with OCR for text-heavy images |
| 104 | Use screenshots for website analysis |
| 105 | |
| 106 | ## Discover More |
| 107 | |
| 108 | List all endpoints, or add a path for parameter details: |
| 109 | |
| 110 | |
| 111 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/search \ |
| 112 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 113 | -H "Content-Type: application/json" \ |
| 114 | -d '{"prompt":"brand-dev API endpoints"}' api show linkup |
| 115 | curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/search \ |
| 116 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 117 | -H "Content-Type: application/json" \ |
| 118 | -d '{"prompt":"riveter API endpoints"}' api show scrapegraph |
| 119 | |
| 120 | |
| 121 | Example: `curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/details \ |
| 122 | -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \ |
| 123 | -H "Content-Type: application/json" \ |
| 124 | -d '{"api":"olostep","path":"/v1/scrapes`"}' for endpoint parameters. |
| 125 |