Not in the top 1,000 by GitHub stars

Shakibuzzaman3104/gpt-ui-assets

Claude Code skill: design platform-native app UIs with GPT and turn them into production assets — every asset redrawn 1:1 (never cropped), SVG/VectorDrawable icons, app icons, frame/Lottie/AVD animation, fonts, theme code and a screenshot diff for a 1:1 build.

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

skills/gpt-ui-assets/SKILL.md

Week of Nov 2, 2026 · +45 / −17 lines

Before Not checked yet → After Network or broad shell

384b7e133530 → 9ebd736e3635

Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.

Compare on GitHub

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Not checked yet

First observation → 384b7e133530

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 9ebd736e363526aa7d5b60c5e27f2359c6e61320

git clone --filter=blob:none --no-checkout https://github.com/Shakibuzzaman3104/gpt-ui-assets.git .hotskills/shakibuzzaman3104-gpt-ui-assets && git -C .hotskills/shakibuzzaman3104-gpt-ui-assets checkout --detach 9ebd736e363526aa7d5b60c5e27f2359c6e61320 # Copy each selected skill directory from .hotskills/shakibuzzaman3104-gpt-ui-assets into .claude/skills/<skill-name>/
15GitHub stars
0stars in 7 days
1skill in this repository
73commits in 30 days

Heat

1.8
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Oct 25, 202615

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

gpt-ui-assets

When your agent uses it

Design app, tablet, foldable, desktop-app and website screens with OpenAI's GPT image and vision models (API key or the local Codex CLI), then turn an approved design into production assets redrawn 1:1, never cropped: SVG/VectorDrawable icons, PNG/WebP illustrations, launcher icons, frame, Lottie and AVD animation, smoke/steam/rain loops, theme code and fonts measured from the pixels, a screenshot diff of the built UI, and App Store / Google Play screenshot sets composited from real captures. Also writes GPT-researched feature blueprints. Use whenever the user wants GPT/ChatGPT to design screens, icons, illustrations or an app icon; approves a GPT design ("go ahead", "build it", "give me the assets"); wants assets used in the UI; wants an animated drawable, Lottie or AVD from existing art; wants store screenshots or a Play feature graphic; or complains that GPT cropped assets out of a mockup. Not for go/no-go idea validation, or design direction without GPT.

What it loads into context

Frontmatter

239 tokens

Always available to the agent

SKILL.md

4,581 tokens

When the skill is activated

Reference documents

51,400 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Before you start
  2. The workflow
  3. Rules that hold in every phase
  4. Working with the user
  5. Pairs well with (if installed)
  6. Reference files

Scripts executed separately

  • ../../mods/attachment-preview/types/index.d.ts
  • scripts/gptkit.py
  • scripts/gptkit/__init__.py
  • scripts/gptkit/appicon.py
  • scripts/gptkit/cli.py
  • scripts/gptkit/codex_cli.py
  • scripts/gptkit/compare.py
  • scripts/gptkit/core.py
  • scripts/gptkit/cost_status.py
  • scripts/gptkit/design.py
  • scripts/gptkit/doctor.py
  • scripts/gptkit/export.py
  • scripts/gptkit/fit.py
  • scripts/gptkit/fonts.py
  • scripts/gptkit/forge.py
  • scripts/gptkit/frames.py
  • scripts/gptkit/gallery.py
  • scripts/gptkit/gallery_server.py
  • scripts/gptkit/hybrid.py
  • scripts/gptkit/imaging.py
  • scripts/gptkit/measure.py
  • scripts/gptkit/previews.py
  • scripts/gptkit/prompts.py
  • scripts/gptkit/redline.py
  • scripts/gptkit/research.py
  • scripts/gptkit/scenes.py
  • scripts/gptkit/sequence.py
  • scripts/gptkit/store.py
  • scripts/gptkit/svg_icons.py
  • scripts/gptkit/tokens.py
  • scripts/gptkit/trace_rig.py
  • scripts/gptkit/tween.py
  • scripts/gptkit/vectordrawable.py
  • scripts/gptkit/vectorize.py
  • tests/avd_eval.py
  • tests/test_api_core.py
  • tests/test_appicon.py
  • tests/test_cli_errors.py
  • tests/test_code_review.py
  • tests/test_codex_cli.py
  • tests/test_cost.py
  • tests/test_design.py
  • tests/test_design_to_code.py
  • tests/test_devices.py
  • tests/test_docs.py
  • tests/test_export.py
  • tests/test_forge.py
  • tests/test_frames.py
  • tests/test_gallery.py
  • tests/test_hybrid.py
  • tests/test_platform.py
  • tests/test_platform_validity.py
  • tests/test_scenes.py
  • tests/test_sequence.py
  • tests/test_status.py
  • tests/test_store.py
  • tests/test_svg.py
  • tests/test_trace_rig.py
  • tests/test_tween.py
  • tests/test_vector.py

Files

  • ../../.claude-plugin/marketplace.jsonasset975 bytes
  • ../../.claude-plugin/plugin.jsonasset1,017 bytes
  • ../../mods/attachment-preview/.claude-plugin/plugin.jsonasset422 bytes
  • ../../mods/attachment-preview/hooks/hooks.jsonasset34 bytes
  • ../../mods/attachment-preview/types/index.d.tsruns1,064 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • SKILL.mdcore18,083 bytes
  • references/animation.mddoc15,107 bytes
  • references/api-findings.mddoc71,982 bytes
  • references/appicon.mddoc4,819 bytes
  • references/assets.mddoc15,458 bytes
  • references/build-ui.mddoc11,332 bytes
  • references/design.mddoc8,830 bytes
  • references/hybrid.mddoc7,054 bytes
  • references/models.mddoc4,245 bytes
  • references/research.mddoc2,447 bytes
  • references/sequence.mddoc12,481 bytes
  • references/setup.mddoc7,327 bytes
  • references/store-styles/flat-normal.jpgasset114,879 bytes
  • references/store-styles/full-creative.jpgasset234,129 bytes
  • references/store-styles/mixed-bedside.jpgasset166,747 bytes
  • references/store-styles/mixed.jpgasset166,551 bytes
  • references/store.mddoc29,437 bytes
  • scripts/gptkit.pyruns498 bytes
  • scripts/gptkit/__init__.pyruns3,328 bytes
  • scripts/gptkit/appicon.pyruns49,716 bytes
  • scripts/gptkit/cli.pyruns35,446 bytes
  • scripts/gptkit/codex_cli.pyruns16,201 bytes
  • scripts/gptkit/compare.pyruns53,759 bytes
  • scripts/gptkit/core.pyruns37,642 bytes
  • scripts/gptkit/cost_status.pyruns26,014 bytes
  • scripts/gptkit/design.pyruns56,069 bytes
  • scripts/gptkit/doctor.pyruns8,430 bytes
  • scripts/gptkit/export.pyruns5,969 bytes
  • scripts/gptkit/fit.pyruns14,125 bytes
  • scripts/gptkit/fonts.pyruns45,885 bytes
  • scripts/gptkit/forge.pyruns30,799 bytes
  • scripts/gptkit/frames.pyruns50,296 bytes
  • scripts/gptkit/gallery.htmlasset30,737 bytes
  • scripts/gptkit/gallery.pyruns35,313 bytes
  • scripts/gptkit/gallery_server.pyruns4,465 bytes
  • scripts/gptkit/hybrid.pyruns50,068 bytes
  • scripts/gptkit/imaging.pyruns15,845 bytes
  • scripts/gptkit/measure.pyruns19,823 bytes
  • scripts/gptkit/previews.pyruns34,994 bytes
  • scripts/gptkit/prompts.pyruns48,788 bytes
  • scripts/gptkit/redline.pyruns16,530 bytes
  • scripts/gptkit/research.pyruns15,744 bytes
  • scripts/gptkit/scenes.pyruns40,447 bytes
  • scripts/gptkit/sequence.pyruns60,285 bytes
  • scripts/gptkit/store.pyruns96,123 bytes
  • scripts/gptkit/svg_icons.pyruns45,094 bytes
  • scripts/gptkit/tokens.pyruns70,052 bytes
  • scripts/gptkit/trace_rig.pyruns103,132 bytes
  • scripts/gptkit/tween.pyruns7,220 bytes
  • scripts/gptkit/vectordrawable.pyruns58,372 bytes
  • scripts/gptkit/vectorize.pyruns51,344 bytes
  • scripts/requirements.txtdoc639 bytes
  • tests/api_core/blueprint.jsonasset3,971 bytes
  • tests/api_core/report.jsonasset2,554 bytes
  • tests/avd_eval.pyruns4,177 bytes
  • tests/fonts/Inter-300.ttfasset31,004 bytes
  • tests/fonts/Inter-400.ttfasset30,908 bytes
  • tests/fonts/Inter-500.ttfasset30,952 bytes
  • tests/fonts/Inter-700.ttfasset31,016 bytes
  • tests/fonts/OFL-Inter.txtdoc4,377 bytes
  • tests/fonts/OFL-Lora.txtdoc4,423 bytes
  • tests/fonts/OFL-Roboto.txtdoc4,394 bytes
  • tests/fonts/README.mddoc746 bytes
  • tests/fonts/Roboto-400.ttfasset23,408 bytes
  • tests/fonts/SerifTest-700.ttfasset25,740 bytes
  • tests/svg/arcs_relative.svgasset213 bytes
  • tests/svg/colors.svgasset311 bytes
  • tests/svg/fx/2x.svgasset98 bytes
  • tests/svg/fx/Arrow-Left.svgasset98 bytes
  • tests/svg/fx/bom.svgasset100 bytes
  • tests/svg/fx/clip_figma.svgasset275 bytes
  • tests/svg/fx/clip_real.svgasset257 bytes
  • tests/svg/fx/css_class.svgasset136 bytes
  • tests/svg/fx/doctype.svgasset383 bytes
  • tests/svg/fx/grad_focal.svgasset307 bytes
  • tests/svg/fx/grad_obb.svgasset249 bytes
  • tests/svg/fx/grad_one_stop.svgasset275 bytes
  • tests/svg/fx/grad_pct.svgasset302 bytes
  • tests/svg/fx/grad_radial_nor.svgasset284 bytes
  • tests/svg/fx/grad_transform_figma.svgasset410 bytes
  • tests/svg/fx/grad_url_quoted.svgasset305 bytes
  • tests/svg/fx/inherit_fill.svgasset132 bytes
  • tests/svg/fx/inkscape.svgasset392 bytes
  • tests/svg/fx/marker.svgasset282 bytes
  • tests/svg/fx/material_symbol.svgasset225 bytes
  • tests/svg/fx/named_hsl.svgasset166 bytes
  • tests/svg/fx/nested_svg.svgasset226 bytes
  • tests/svg/fx/no_xmlns.svgasset75 bytes
  • tests/svg/fx/nonscaling.svgasset180 bytes
  • tests/svg/fx/nonuniform_stroke.svgasset183 bytes
  • tests/svg/fx/opacity_pct.svgasset140 bytes
  • tests/svg/fx/paint_order.svgasset162 bytes
  • tests/svg/fx/single_quote.svgasset133 bytes
  • tests/svg/fx/skew.svgasset143 bytes
  • tests/svg/fx/tabler_dead.svgasset181 bytes
  • tests/svg/fx/use_symbol.svgasset241 bytes
  • tests/svg/fx/visibility_child.svgasset221 bytes
  • tests/svg/fx/wh_mismatch.svgasset151 bytes
  • tests/svg/gradient.svgasset545 bytes
  • tests/svg/group_opacity.svgasset178 bytes
  • tests/svg/rects_dash.svgasset287 bytes
  • tests/svg/root_attrs.svgasset260 bytes
  • tests/svg/transforms.svgasset246 bytes
  • tests/test_api_core.pyruns35,121 bytes
  • tests/test_appicon.pyruns21,024 bytes
  • tests/test_cli_errors.pyruns37,506 bytes
  • tests/test_code_review.pyruns10,870 bytes
  • tests/test_codex_cli.pyruns12,750 bytes
  • tests/test_cost.pyruns7,458 bytes
  • tests/test_design.pyruns43,434 bytes
  • tests/test_design_to_code.pyruns60,003 bytes
  • tests/test_devices.pyruns8,543 bytes
  • tests/test_docs.pyruns7,306 bytes
  • tests/test_export.pyruns9,052 bytes
  • tests/test_forge.pyruns35,822 bytes
  • tests/test_frames.pyruns21,699 bytes
  • tests/test_gallery.pyruns22,646 bytes
  • tests/test_hybrid.pyruns11,984 bytes
  • tests/test_platform.pyruns4,943 bytes
  • tests/test_platform_validity.pyruns12,071 bytes
  • tests/test_scenes.pyruns19,184 bytes
  • tests/test_sequence.pyruns39,707 bytes
  • tests/test_status.pyruns7,546 bytes
  • tests/test_store.pyruns23,907 bytes
  • tests/test_svg.pyruns34,340 bytes
  • tests/test_trace_rig.pyruns35,893 bytes
  • tests/test_tween.pyruns3,671 bytes
  • tests/test_vector.pyruns41,681 bytes
Read SKILL.md

# GPT UI assets

**You are the driver.** GPT is one instrument among several. Route every job to whoever does it best, and never
accept "GPT can't" as the end of the road:

| Job | Best done by |
|---|---|
| Market research (web-searched, cited) and the feature blueprint | GPT reasoning with web search (`research`, `blueprint`) |
| Screen mockups, painterly art, illustrations, photos, textures, raster frames | GPT image (`mockup`, `forge`, `frames`) |
| Concept screens that must look finished, or move | **You** build the screen in HTML/CSS/JS; GPT paints only the materials (`material`, `state`); `stage` renders it |
| Asset inventory, design QA, icon-set style, vector keyframes | GPT vision (`manifest`, `critique`, `iconspec`, `vectorize`) |
| Flat/line icons as vectors | GPT vision writes SVG (`svg`, `icons`). If it stays weak after its retry, **you** fix the SVG by hand, then `svg --check` |
| Ranking, colour correction, safe zones, registration, QA | Local measurement in the kit. Trust numbers over the model's claims |
| Raster art → vectors, animatable parts | Local tracing and rigging (`trace`, `rig`, `animate`) |
View the complete source on GitHub

Skills included

  • gpt-ui-assets

Repository facts

License
MIT
Created
Sep 27, 2026
Last pushed
Oct 30, 2026
Forks
0
Open issues
0
Project activity
Active

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 6, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 24 notes
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/gpt-ui-assets/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 653 signals by file

.claude-plugin/marketplace.json

  • Network accessline 3
    "owner": {     "name": "Shakibuzzaman",     "url": "https://github.com/Shakibuzzaman3104"
  • Network accessline 4
    "name": "Shakibuzzaman",     "url": "https://github.com/Shakibuzzaman3104"   },
  • Network accessline 5
    "url": "https://github.com/Shakibuzzaman3104"

.claude-plugin/plugin.json

  • Network accessline 5
    "author": {     "name": "Shakibuzzaman",     "url": "https://github.com/Shakibuzzaman3104"
  • Network accessline 6
    "name": "Shakibuzzaman",     "url": "https://github.com/Shakibuzzaman3104"   },
  • Network accessline 7
    "url": "https://github.com/Shakibuzzaman3104"
  • Network accessline 8
    },   "homepage": "https://github.com/Shakibuzzaman3104/gpt-ui-assets",   "repository": "https://github.com/Shakibuzzaman3104/gpt-ui-assets",
  • Network accessline 9
    "homepage": "https://github.com/Shakibuzzaman3104/gpt-ui-assets",
  • Network accessline 10
    "repository": "https://github.com/Shakibuzzaman3104/gpt-ui-assets",

mods/attachment-preview/.claude-plugin/plugin.json

  • Network accessline 3
    "version": "0.2.0",   "description": "A terminal pane for the images and assets of a session: grids of gptkit variants, side-by-side compare of up to 4, transparent assets on checker/light/dark, icon contact sheets, aspect and QA at a glanc
  • Network accessline 4
    "description": "A terminal pane for the images and assets of a session: grids of gptkit variants, side-by-side compare of up to 4, transparent assets on checker/light/dark, icon contact sheets, aspect and QA at a glance",   "author": { "nam
  • Network accessline 5
    "author": { "name": "Shakibuzzaman", "url": "https://github.com/Shakibuzzaman3104" },

mods/attachment-preview/types/index.d.ts

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/references/api-findings.md

  • Network accessline 450
    - **Colour transfer through Pillow's `LAB` mode** (ImageCms sRGB→LAB, mean/std shift, back) turned white smoke blue: the   a/b channels are stored offset and the round trip is not what it looks like. Use the kit's own `_lab` / `_match_color
  • Network accessline 451
    a/b channels are stored offset and the round trip is not what it looks like. Use the kit's own `_lab` / `_match_colors`. - **EbSynth propagation (2026-09-28, same loop).** [EbSynth](https://github.com/jamriska/ebsynth) is public-domain code
  • Network accessline 452
    - **EbSynth propagation (2026-09-28, same loop).** [EbSynth](https://github.com/jamriska/ebsynth) is public-domain code
  • Network accessline 500
    - Dense-plume warning: more than 3 elements stacked per covered pixel on average. This is a starting threshold (the     car exhaust had about 9 puffs overlapping), not a measured cut-off. - **Compared: [3dicon](https://github.com/samyost1/3
  • Network accessline 501
    car exhaust had about 9 puffs overlapping), not a measured cut-off. - **Compared: [3dicon](https://github.com/samyost1/3dicon)** animates an approved GPT still with a video model (Seedance 2.0   via OpenRouter), with the still as both the f
  • Network accessline 502
    - **Compared: [3dicon](https://github.com/samyost1/3dicon)** animates an approved GPT still with a video model (Seedance 2.0
  • Access to secretsline 651
    [Credential-related source omitted]

skills/gpt-ui-assets/references/build-ui.md

  • Access to secretsline 12
    [Credential-related source omitted]

skills/gpt-ui-assets/references/sequence.md

  • Network accessline 43
    - **`propagate` is what the plan picks when it can.** It needs the `ebsynth` binary (public-domain code; the   PatchMatch algorithm it implements is patented, so check that before redistributing it commercially; CPU is enough).   Build it o
  • Network accessline 44
    PatchMatch algorithm it implements is patented, so check that before redistributing it commercially; CPU is enough).   Build it once with `git clone https://github.com/jamriska/ebsynth ~/.cache/gptkit/ebsynth && cd   ~/.cache/gptkit/ebsynth
  • Network accessline 45
    Build it once with `git clone https://github.com/jamriska/ebsynth ~/.cache/gptkit/ebsynth && cd

skills/gpt-ui-assets/references/setup.md

  • Network accessline 17
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]
  • Network accessline 18
    - `GPTKIT_QUALITY=low|medium|high` (default `high`) sets API image output quality; low and medium reduce draft cost. - `GPTKIT_BASE_URL` (or `OPENAI_BASE_URL`), default `https://api.openai.com/v1`. OpenAI-compatible gateways work when they 
  • Network accessline 19
    - `GPTKIT_BASE_URL` (or `OPENAI_BASE_URL`), default `https://api.openai.com/v1`. OpenAI-compatible gateways work when they
  • Network accessline 60
    mkdir -p ~/.cache/gptkit/rife && cd ~/.cache/gptkit/rife   curl -LO https://github.com/nihui/rife-ncnn-vulkan/releases/download/20221029/rife-ncnn-vulkan-20221029-macos.zip
  • Network accessline 61
    curl -LO https://github.com/nihui/rife-ncnn-vulkan/releases/download/20221029/rife-ncnn-vulkan-20221029-macos.zip
  • Dangerous shell operationline 63
    mv rife-ncnn-vulkan-20221029-macos/rife-v4.6 . && rm -r rife-ncnn-vulkan-20221029-macos rife-ncnn-vulkan-20221029-macos.zip

skills/gpt-ui-assets/references/store.md

  • Network accessline 32
    - **App Store** ([2.3.3](https://developer.apple.com/help/app-review/guideline-reference/2-3-3-screenshots),
  • Network accessline 33
    [product page](https://developer.apple.com/app-store/product-page/),
  • Network accessline 34
    [specifications](https://developer.apple.com/help/app-store-connect/reference/app-information/screenshot-specifications/)):
  • Network accessline 38
    1206x2622 size is required; 6.9" 1320x2868 is optional. iPhone Duo shots (1398x2034 outer, 2007x2853 inner) become   required in April 2027 for apps built with the iOS 27.1 SDK. - **Google Play** ([preview assets](https://support.google.com
  • Network accessline 39
    required in April 2027 for apps built with the iOS 27.1 SDK. - **Google Play** ([preview assets](https://support.google.com/googleplay/android-developer/answer/9866151),   [store listing best practices](https://support.google.com/googleplay
  • Network accessline 40
    - **Google Play** ([preview assets](https://support.google.com/googleplay/android-developer/answer/9866151),
  • Network accessline 41
    [store listing best practices](https://support.google.com/googleplay/android-developer/answer/13393723)): phone
  • Network accessline 318
    - Copy honesty still applies: a caption must not claim "live" opponents over a screen that shows a labelled bot or a   practice match. - Two worlds for one app are a ready-made test. Apple's [product page optimization](https://developer.app
  • Network accessline 319
    practice match. - Two worlds for one app are a ready-made test. Apple's [product page optimization](https://developer.apple.com/help/app-store-connect-analytics/acquisition/product-page-optimization/)   runs up to three alternate screenshot
  • Network accessline 320
    - Two worlds for one app are a ready-made test. Apple's [product page optimization](https://developer.apple.com/help/app-store-connect-analytics/acquisition/product-page-optimization/)

skills/gpt-ui-assets/scripts/gptkit.py

  • Executable scriptline 1
    #!/usr/bin/env python3

skills/gpt-ui-assets/scripts/gptkit/__init__.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/appicon.py

  • Executable scriptline 1
    Executable file
  • Network accessline 394
    items = "".join(f'\n                <item android:offset="{o:g}" android:color="{_hex(c)}" />'                     for o, c in zip((0, 0.5, 1), spec["colors"]))     return ('<?xml version="1.0" encoding="utf-8"?>\n<vector xmlns:android="htt
  • Network accessline 395
    for o, c in zip((0, 0.5, 1), spec["colors"]))     return ('<?xml version="1.0" encoding="utf-8"?>\n<vector xmlns:android="http://schemas.android.com/apk/res/android"\n'             '    xmlns:aapt="http://schemas.android.com/aapt"\n    andr
  • Network accessline 396
    return ('<?xml version="1.0" encoding="utf-8"?>\n<vector xmlns:android="http://schemas.android.com/apk/res/android"\n'
  • Network accessline 397
    '    xmlns:aapt="http://schemas.android.com/aapt"\n    android:width="108dp"\n    android:height="108dp"\n'
  • Network accessline 443
    manifest = ('<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.gptkit.iconcheck">\n'
  • Network accessline 688
    (res / "mipmap-anydpi-v26").mkdir(exist_ok=True)     mono_line = f'\n    <monochrome android:drawable="{mono_ref}" />' if mono_ref else ""     xml = ('<?xml version="1.0" encoding="utf-8"?>\n<adaptive-icon xmlns:android="http://schemas.andr
  • Network accessline 689
    mono_line = f'\n    <monochrome android:drawable="{mono_ref}" />' if mono_ref else ""     xml = ('<?xml version="1.0" encoding="utf-8"?>\n<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">\n'            f'    <backgr
  • Network accessline 690
    xml = ('<?xml version="1.0" encoding="utf-8"?>\n<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">\n'

skills/gpt-ui-assets/scripts/gptkit/cli.py

  • Executable scriptline 1
    Executable file
  • Network accessline 5
    Config (environment variables win over the config file ~/.config/gptkit/env, KEY=value lines; `setup` writes it):   GPTKIT_BACKEND                      api | cli | auto (default): the API with a key, else the Codex CLI when signed in   GPTK
  • Network accessline 6
    GPTKIT_BACKEND                      api | cli | auto (default): the API with a key, else the Codex CLI when signed in   GPTKIT_BASE_URL / OPENAI_BASE_URL   default https://api.openai.com/v1 (or a gateway that mirrors /images/* multipart    
  • Network accessline 7
    GPTKIT_BASE_URL / OPENAI_BASE_URL   default https://api.openai.com/v1 (or a gateway that mirrors /images/* multipart
  • Access to secretsline 9
    [Credential-related source omitted]
  • Access to secretsline 410
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/codex_cli.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 29
    [Credential-related source omitted]
  • Access to secretsline 73
    [Credential-related source omitted]
  • Access to secretsline 109
    [Credential-related source omitted]
  • Network accessline 208
    instr = prompt     if search:         instr += "\n\nWhen using web search, cite sources as inline Markdown links [title](https://...)."
  • Network accessline 209
    if search:         instr += "\n\nWhen using web search, cite sources as inline Markdown links [title](https://...)."     answer, _, _, _ = _codex(instr, schema=schema, model=model or RESEARCH_MODEL, effort=effort, search=search, timeout=120
  • Network accessline 210
    instr += "\n\nWhen using web search, cite sources as inline Markdown links [title](https://...)."
  • Access to secretsline 333
    [Credential-related source omitted]
  • Access to secretsline 347
    [Credential-related source omitted]
  • Access to secretsline 365
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/compare.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/core.py

  • Executable scriptline 1
    Executable file
  • Network accessline 23
    SVG_NS = "{http://www.w3.org/2000/svg}"
  • Network accessline 24
    ET.register_namespace("", "http://www.w3.org/2000/svg")
  • Network accessline 25
    ET.register_namespace("xlink", "http://www.w3.org/1999/xlink")
  • Access to secretsline 44
    [Credential-related source omitted]
  • Access to secretsline 138
    [Credential-related source omitted]
  • Access to secretsline 173
    [Credential-related source omitted]
  • Access to secretsline 174
    [Credential-related source omitted]
  • Access to secretsline 300
    [Credential-related source omitted]
  • Access to secretsline 315
    [Credential-related source omitted]
  • Access to secretsline 316
    [Credential-related source omitted]
  • Network accessline 331
    if quality not in ("low", "medium", "high"):         sys.exit(f"gptkit: GPTKIT_QUALITY must be low, medium or high, got {quality!r}")     return {"base": pick("GPTKIT_BASE_URL", "OPENAI_BASE_URL", default="https://api.openai.com/v1").rstrip
  • Network accessline 332
    sys.exit(f"gptkit: GPTKIT_QUALITY must be low, medium or high, got {quality!r}")     return {"base": pick("GPTKIT_BASE_URL", "OPENAI_BASE_URL", default="https://api.openai.com/v1").rstrip("/"),             "key": pick("GPTKIT_API_KEY", "OPE
  • Network accessline 333
    return {"base": pick("GPTKIT_BASE_URL", "OPENAI_BASE_URL", default="https://api.openai.com/v1").rstrip("/"),
  • Access to secretsline 334
    [Credential-related source omitted]
  • Access to secretsline 348
    [Credential-related source omitted]
  • Network accessline 423
    for attempt in range(retries + 1):         try:             r = requests.post(base + path, headers=headers, json=json_body, files=files, data=data, timeout=timeout)
  • Network accessline 424
    try:             r = requests.post(base + path, headers=headers, json=json_body, files=files, data=data, timeout=timeout)         except requests.RequestException as e:
  • Network accessline 425
    r = requests.post(base + path, headers=headers, json=json_body, files=files, data=data, timeout=timeout)
  • Possible obfuscationline 528
    raw = base64.b64decode(item["b64_json"], validate=True)
  • Network accessline 531
    elif item.get("url"):         try:             r = requests.get(item["url"], timeout=120)
  • Network accessline 532
    try:             r = requests.get(item["url"], timeout=120)             r.raise_for_status()
  • Network accessline 533
    r = requests.get(item["url"], timeout=120)
  • Network accessline 595
    [Credential-related source omitted]
  • Network accessline 596
    [Credential-related source omitted]
  • Network accessline 597
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/cost_status.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 18
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/design.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/doctor.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 30
    [Credential-related source omitted]
  • Access to secretsline 68
    [Credential-related source omitted]
  • Network accessline 71
    else:         eb = _find_ebsynth(None)         eb_line = eb or ("not found: git clone https://github.com/jamriska/ebsynth ~/.cache/gptkit/ebsynth && cd ~/.cache/gptkit/ebsynth"
  • Network accessline 72
    eb = _find_ebsynth(None)         eb_line = eb or ("not found: git clone https://github.com/jamriska/ebsynth ~/.cache/gptkit/ebsynth && cd ~/.cache/gptkit/ebsynth"                          f" && sh build-{'macos' if sys.platform == 'darwin' 
  • Network accessline 73
    eb_line = eb or ("not found: git clone https://github.com/jamriska/ebsynth ~/.cache/gptkit/ebsynth && cd ~/.cache/gptkit/ebsynth"
  • Access to secretsline 77
    [Credential-related source omitted]
  • Access to secretsline 109
    [Credential-related source omitted]
  • Network accessline 112
    base, headers = _auth()     try:         r = requests.get(base + "/models", headers=headers, timeout=30)
  • Network accessline 113
    try:         r = requests.get(base + "/models", headers=headers, timeout=30)         r.raise_for_status()
  • Network accessline 114
    r = requests.get(base + "/models", headers=headers, timeout=30)

skills/gpt-ui-assets/scripts/gptkit/export.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/fit.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/fonts.py

  • Executable scriptline 1
    Executable file
  • Network accessline 24
    GF_METADATA = "https://fonts.google.com/metadata/fonts"
  • Network accessline 25
    GF_WEBFONTS = "https://www.googleapis.com/webfonts/v1/webfonts"
  • Access to secretsline 26
    [Credential-related source omitted]
  • Access to secretsline 35
    [Credential-related source omitted]
  • Access to secretsline 43
    [Credential-related source omitted]
  • Network accessline 45
    errors = []     try:         r = requests.get(GF_METADATA, timeout=60)
  • Network accessline 46
    try:         r = requests.get(GF_METADATA, timeout=60)         r.raise_for_status()
  • Network accessline 47
    r = requests.get(GF_METADATA, timeout=60)
  • Access to secretsline 56
    [Credential-related source omitted]
  • Network accessline 58
    cat = {"sans-serif": "Sans Serif", "serif": "Serif", "display": "Display", "handwriting": "Handwriting", "monospace": "Monospace"}         try:             r = requests.get(GF_WEBFONTS, params={"key": key, "sort": "popularity"}, timeout=60)
  • Network accessline 59
    try:             r = requests.get(GF_WEBFONTS, params={"key": key, "sort": "popularity"}, timeout=60)             r.raise_for_status()
  • Network accessline 60
    r = requests.get(GF_WEBFONTS, params={"key": key, "sort": "popularity"}, timeout=60)
  • Access to secretsline 78
    [Credential-related source omitted]
  • Network accessline 122
    return p     key = (family, weight, italic)     url = f"https://fonts.googleapis.com/css2?family={family.replace(' ', '+')}:ital,wght@{int(italic)},{weight}"
  • Network accessline 123
    key = (family, weight, italic)     url = f"https://fonts.googleapis.com/css2?family={family.replace(' ', '+')}:ital,wght@{int(italic)},{weight}"     try:
  • Network accessline 124
    url = f"https://fonts.googleapis.com/css2?family={family.replace(' ', '+')}:ital,wght@{int(italic)},{weight}"     try:         css = requests.get(url, headers={"User-Agent": "gptkit"}, timeout=30)
  • Network accessline 125
    try:         css = requests.get(url, headers={"User-Agent": "gptkit"}, timeout=30)         if not css.ok:
  • Network accessline 126
    css = requests.get(url, headers={"User-Agent": "gptkit"}, timeout=30)
  • Network accessline 128
    _GF_TTF_ERRORS[key] = f"HTTP {css.status_code} from fonts.googleapis.com"             return None         m_ = re.search(r"url\((https://[^)]+\.ttf)\)", css.text)
  • Network accessline 129
    return None         m_ = re.search(r"url\((https://[^)]+\.ttf)\)", css.text)         if not m_:
  • Network accessline 130
    m_ = re.search(r"url\((https://[^)]+\.ttf)\)", css.text)
  • Network accessline 132
    _GF_TTF_ERRORS[key] = "no TTF url in the css2 response (weight not available?)"             return None         r = requests.get(m_.group(1), timeout=60)
  • Network accessline 133
    return None         r = requests.get(m_.group(1), timeout=60)         if not r.ok:
  • Network accessline 134
    r = requests.get(m_.group(1), timeout=60)
  • Possible obfuscationline 141
    if not r.content[:4] in (b"\x00\x01\x00\x00", b"true", b"OTTO"):
  • Network accessline 164
    res = {"license": "unknown (see fonts.google.com)", "dir": None, "text": None}     for lic_dir, fname in (("ofl", "OFL.txt"), ("apache", "LICENSE.txt"), ("ufl", "UFL.txt")):         base = f"https://raw.githubusercontent.com/google/fonts/ma
  • Network accessline 165
    for lic_dir, fname in (("ofl", "OFL.txt"), ("apache", "LICENSE.txt"), ("ufl", "UFL.txt")):         base = f"https://raw.githubusercontent.com/google/fonts/main/{lic_dir}/{slug}/"         try:
  • Network accessline 166
    base = f"https://raw.githubusercontent.com/google/fonts/main/{lic_dir}/{slug}/"         try:             r = requests.get(base + "METADATA.pb", timeout=20)
  • Network accessline 167
    try:             r = requests.get(base + "METADATA.pb", timeout=20)             if not r.ok:
  • Network accessline 168
    r = requests.get(base + "METADATA.pb", timeout=20)
  • Network accessline 170
    continue             m_ = re.search(r'license:\s*"([^"]+)"', r.text)             t = requests.get(base + fname, timeout=20)
  • Network accessline 171
    m_ = re.search(r'license:\s*"([^"]+)"', r.text)             t = requests.get(base + fname, timeout=20)             res = {"license": m_.group(1) if m_ else lic_dir.upper(), "dir": f"{lic_dir}/{slug}", "text": t.text if t.ok else None}
  • Network accessline 172
    t = requests.get(base + fname, timeout=20)
  • Network accessline 667
    f'        app:fontWeight="{f["weight"]}" />\n' for f in files)     (res_font / f"{xml_name}.xml").write_text('<?xml version="1.0" encoding="utf-8"?>\n<font-family xmlns:android='                                                '"http://schem
  • Network accessline 668
    (res_font / f"{xml_name}.xml").write_text('<?xml version="1.0" encoding="utf-8"?>\n<font-family xmlns:android='                                                '"http://schemas.android.com/apk/res/android"\n    xmlns:app='                   
  • Network accessline 669
    '"http://schemas.android.com/apk/res/android"\n    xmlns:app='
  • Network accessline 670
    f'"http://schemas.android.com/apk/res-auto">\n{items}</font-family>\n')
  • Network accessline 682
    family = {"family": fam, "category": cat, "license": lic["license"], "source": lic.get("dir"), "files": files,               "postscript": ps, "android_family": f"@font/{xml_name}",               "css": f"https://fonts.googleapis.com/css2?f
  • Network accessline 683
    "postscript": ps, "android_family": f"@font/{xml_name}",               "css": f"https://fonts.googleapis.com/css2?family={fam.replace(' ', '+')}:{axis}&display=swap",               "css_fallback": _CSS_FALLBACK.get(cat, "sans-serif")}
  • Network accessline 684
    "css": f"https://fonts.googleapis.com/css2?family={fam.replace(' ', '+')}:{axis}&display=swap",
  • Network accessline 702
    link_html = ""     if families:         href = "https://fonts.googleapis.com/css2?" + "&".join(
  • Network accessline 703
    if families:         href = "https://fonts.googleapis.com/css2?" + "&".join(             f["css"].split("?", 1)[1].replace("&display=swap", "") for f in families) + "&display=swap"
  • Network accessline 704
    href = "https://fonts.googleapis.com/css2?" + "&".join(
  • Network accessline 705
    f["css"].split("?", 1)[1].replace("&display=swap", "") for f in families) + "&display=swap"         link_html = ('<link rel="preconnect" href="https://fonts.googleapis.com">\n<link rel="preconnect" href="https://fonts.gstatic.com" '        
  • Network accessline 706
    link_html = ('<link rel="preconnect" href="https://fonts.googleapis.com">\n<link rel="preconnect" href="https://fonts.gstatic.com" '

skills/gpt-ui-assets/scripts/gptkit/forge.py

  • Executable scriptline 1
    Executable file
  • Network accessline 393
    """SVG text with xmlns="http://www.w3.org/2000/svg" on the root (browsers ignore an <img> SVG without it)."""
  • Network accessline 394
    m_ = re.search(r"<svg\b[^>]*>", txt)     if m_ and not re.search(r"""\sxmlns\s*=\s*["']http://www\.w3\.org/2000/svg["']""", m_.group(0)):
  • Network accessline 395
    if m_ and not re.search(r"""\sxmlns\s*=\s*["']http://www\.w3\.org/2000/svg["']""", m_.group(0)):
  • Network accessline 396
    return txt[:m_.start()] + m_.group(0).replace("<svg", '<svg xmlns="http://www.w3.org/2000/svg"', 1) + txt[m_.end():]

skills/gpt-ui-assets/scripts/gptkit/frames.py

  • Executable scriptline 1
    Executable file
  • Network accessline 651
    return ("<!doctype html><meta charset=utf-8><body style='margin:0;background:" + bg + "'>"             f"<div id=a style='width:{size}px;height:{size}px'></div>"             "<script src='https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.
  • Network accessline 652
    f"<div id=a style='width:{size}px;height:{size}px'></div>"             "<script src='https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.12.2/lottie.min.js'></script>"             "<script>const f=parseFloat(location.hash.slice(1));const an
  • Network accessline 653
    "<script src='https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.12.2/lottie.min.js'></script>"
  • Network accessline 716
    for i in range(len(seq)))     (drw / f"{res}_anim.xml").write_text(         '<?xml version="1.0" encoding="utf-8"?>\n<animation-list xmlns:android="http://schemas.android.com/apk/res/android"\n'
  • Network accessline 717
    (drw / f"{res}_anim.xml").write_text(         '<?xml version="1.0" encoding="utf-8"?>\n<animation-list xmlns:android="http://schemas.android.com/apk/res/android"\n'         f'    android:oneshot="false">\n{items}\n</animation-list>\n')
  • Network accessline 718
    '<?xml version="1.0" encoding="utf-8"?>\n<animation-list xmlns:android="http://schemas.android.com/apk/res/android"\n'

skills/gpt-ui-assets/scripts/gptkit/gallery.html

  • Network accessline 371
    return;     }     fetch("/api/state", {method: "POST", headers: {"Content-Type": "application/json", "X-Gptkit": "1"},
  • Network accessline 372
    }     fetch("/api/state", {method: "POST", headers: {"Content-Type": "application/json", "X-Gptkit": "1"},       body: JSON.stringify({path: path, state: state || null, note: note == null ? null : note})})
  • Network accessline 373
    fetch("/api/state", {method: "POST", headers: {"Content-Type": "application/json", "X-Gptkit": "1"},
  • Network accessline 499
    var refresh = function () {       if (document.getElementById("dlg").open && document.activeElement && document.activeElement.tagName === "TEXTAREA") return;       fetch("/api/manifest", {cache: "no-store"}).then(function (r) { return r.jso
  • Network accessline 500
    if (document.getElementById("dlg").open && document.activeElement && document.activeElement.tagName === "TEXTAREA") return;       fetch("/api/manifest", {cache: "no-store"}).then(function (r) { return r.json(); }).then(function (d) {       
  • Network accessline 501
    fetch("/api/manifest", {cache: "no-store"}).then(function (r) { return r.json(); }).then(function (d) {

skills/gpt-ui-assets/scripts/gptkit/gallery.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 56
    [Credential-related source omitted]
  • Access to secretsline 62
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/gallery_server.py

  • Executable scriptline 1
    Executable file
  • Network accessline 92
    handler = type("GalleryHandler", (_Handler,), {"gdir": gdir, "port": port})     httpd = _Server(("127.0.0.1", port), partial(handler, directory=str(gdir.parent)))     url = f"http://127.0.0.1:{port}/{GALLERY_DIR}/index.html"
  • Network accessline 93
    httpd = _Server(("127.0.0.1", port), partial(handler, directory=str(gdir.parent)))     url = f"http://127.0.0.1:{port}/{GALLERY_DIR}/index.html"     print(f"gallery: {url}  (Ctrl-C stops it; picks and notes are saved to {gdir / 'manifest.js
  • Network accessline 94
    url = f"http://127.0.0.1:{port}/{GALLERY_DIR}/index.html"

skills/gpt-ui-assets/scripts/gptkit/hybrid.py

  • Executable scriptline 1
    Executable file
  • Network accessline 70
    await document.fonts.ready;   // Optional measured asset geometry. geo.js may assign window.GEO = {...}; missing file is harmless.   try { const r = await fetch('geo.js'); if (r.ok) (0, eval)(await r.text()); } catch (_) {}
  • Network accessline 71
    // Optional measured asset geometry. geo.js may assign window.GEO = {...}; missing file is harmless.   try { const r = await fetch('geo.js'); if (r.ok) (0, eval)(await r.text()); } catch (_) {}   window.GEO = window.GEO || {};
  • Network accessline 72
    try { const r = await fetch('geo.js'); if (r.ok) (0, eval)(await r.text()); } catch (_) {}
  • Network accessline 611
    server_thread = threading.Thread(target=srv.serve_forever, daemon=True)     server_thread.start()     base = f"http://127.0.0.1:{srv.server_address[1]}/{page.name}"
  • Network accessline 612
    server_thread.start()     base = f"http://127.0.0.1:{srv.server_address[1]}/{page.name}"     errors, report = [], {"page": str(page), "size": [w, h], "dpr": a.dpr, "stills": {}}
  • Network accessline 613
    base = f"http://127.0.0.1:{srv.server_address[1]}/{page.name}"

skills/gpt-ui-assets/scripts/gptkit/imaging.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/measure.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/previews.py

  • Executable scriptline 1
    Executable file
  • Network accessline 36
    LOTTIE_JS = "https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.12.2/lottie.min.js"
  • Access to secretsline 42
    [Credential-related source omitted]
  • Access to secretsline 47
    [Credential-related source omitted]
  • Access to secretsline 56
    [Credential-related source omitted]
  • Access to secretsline 58
    [Credential-related source omitted]
  • Network accessline 95
    print(f"  ! cached {p} is not lottie-web ({len(txt)} bytes); fetching again")     try:         r = requests.get(LOTTIE_JS, timeout=60)
  • Network accessline 96
    try:         r = requests.get(LOTTIE_JS, timeout=60)         r.raise_for_status()
  • Network accessline 97
    r = requests.get(LOTTIE_JS, timeout=60)
  • Network accessline 234
    body.append(f"<g{tf}>{inner}</g>")     rect = f'<rect x="-100000" y="-100000" width="200000" height="200000" fill="{bg}"/>' if bg else ""     return (f'<svg xmlns="http://www.w3.org/2000/svg" width="{size}" height="{size}" viewBox="{vec["vi
  • Network accessline 235
    rect = f'<rect x="-100000" y="-100000" width="200000" height="200000" fill="{bg}"/>' if bg else ""     return (f'<svg xmlns="http://www.w3.org/2000/svg" width="{size}" height="{size}" viewBox="{vec["viewBox"]}">'             f'{defs}<defs>{
  • Network accessline 236
    return (f'<svg xmlns="http://www.w3.org/2000/svg" width="{size}" height="{size}" viewBox="{vec["viewBox"]}">'

skills/gpt-ui-assets/scripts/gptkit/prompts.py

  • Executable scriptline 1
    Executable file
  • Network accessline 423
    SVG_RULES = """Write each asset as a standalone SVG that matches the design 1:1 (shape, proportions, stroke weight, corner rounding, colours). Hard rules so it converts to Android VectorDrawable and normalises onto a 24 grid: - Root: <svg x
  • Network accessline 424
    corner rounding, colours). Hard rules so it converts to Android VectorDrawable and normalises onto a 24 grid: - Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="..."> (the xmlns is required). - Elements allowed: path, circle, ellipse,
  • Network accessline 425
    - Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="..."> (the xmlns is required).

skills/gpt-ui-assets/scripts/gptkit/redline.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/research.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/scenes.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/sequence.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 656
    [Credential-related source omitted]
  • Network accessline 667
    EBSYNTH_BUILD = ("  git clone https://github.com/jamriska/ebsynth ~/.cache/gptkit/ebsynth\n"

skills/gpt-ui-assets/scripts/gptkit/store.py

  • Executable scriptline 1
    Executable file
  • Network accessline 83
    def _fetch(url, timeout=30):     import requests     r = requests.get(url, timeout=timeout, headers={"User-Agent": "gptkit-store/1"})
  • Network accessline 84
    import requests     r = requests.get(url, timeout=timeout, headers={"User-Agent": "gptkit-store/1"})     if r.status_code >= 400:
  • Network accessline 85
    r = requests.get(url, timeout=timeout, headers={"User-Agent": "gptkit-store/1"})
  • Network accessline 353
    d = Path(a.dir) / "research"     (d / "shots").mkdir(parents=True, exist_ok=True)     url = (f"https://itunes.apple.com/search?term={quote(a.term)}&country={a.country}&entity=software"
  • Network accessline 354
    (d / "shots").mkdir(parents=True, exist_ok=True)     url = (f"https://itunes.apple.com/search?term={quote(a.term)}&country={a.country}&entity=software"            f"&limit={min(200, a.limit * 2)}")
  • Network accessline 355
    url = (f"https://itunes.apple.com/search?term={quote(a.term)}&country={a.country}&entity=software"
  • Network accessline 839
    const rect=e=>{if(!e)return null;const b=e.getBoundingClientRect();return {x:b.x,y:b.y,w:b.width,h:b.height};}; const tight=e=>{if(!e)return null;const r=document.createRange();r.selectNodeContents(e);return rect(r);}; fetch(q.get('data')||
  • Network accessline 840
    const tight=e=>{if(!e)return null;const r=document.createRange();r.selectNodeContents(e);return rect(r);}; fetch(q.get('data')||'data.json').then(r=>r.json()).then(D=>{   const T=D.targets[q.get('t')], S=T.slots[q.get('s')], I=D.ink[S.ink],
  • Network accessline 841
    fetch(q.get('data')||'data.json').then(r=>r.json()).then(D=>{
  • Network accessline 974
    if webfonts:         fam = lambda f, w: "family=" + f.replace(" ", "+") + ":wght@" + w  # noqa: E731         link = (f"<link href=\"https://fonts.googleapis.com/css2?{fam(head, '800;900')}&{fam(body, '600;700')}"
  • Network accessline 975
    fam = lambda f, w: "family=" + f.replace(" ", "+") + ":wght@" + w  # noqa: E731         link = (f"<link href=\"https://fonts.googleapis.com/css2?{fam(head, '800;900')}&{fam(body, '600;700')}"                 "&display=block\" rel=\"styleshe
  • Network accessline 976
    link = (f"<link href=\"https://fonts.googleapis.com/css2?{fam(head, '800;900')}&{fam(body, '600;700')}"
  • Network accessline 1155
    pg.on("response", lambda r: r.status >= 400 and "fonts.g" not in r.url and not r.url.endswith("/favicon.ico")                   and self.errors.append(f"HTTP {r.status} {r.url.split(str(self.srv.server_address[1]), 1)[-1]}"))         pg.got
  • Network accessline 1156
    and self.errors.append(f"HTTP {r.status} {r.url.split(str(self.srv.server_address[1]), 1)[-1]}"))         pg.goto(f"http://127.0.0.1:{self.srv.server_address[1]}/build/{page}?{query}")         try:
  • Network accessline 1157
    pg.goto(f"http://127.0.0.1:{self.srv.server_address[1]}/build/{page}?{query}")

skills/gpt-ui-assets/scripts/gptkit/svg_icons.py

  • Executable scriptline 1
    Executable file

skills/gpt-ui-assets/scripts/gptkit/tokens.py

  • Executable scriptline 1
    Executable file
  • Network accessline 404
    by_guess = {c["hex_guess"]: c for c in colors}     fstyles = {s["role"]: s for s in (fonts or {}).get("styles", [])}     fam_names = dict(zip(families, names[nc + nt + nr + ns:]))
  • Network accessline 405
    fstyles = {s["role"]: s for s in (fonts or {}).get("styles", [])}     fam_names = dict(zip(families, names[nc + nt + nr + ns:]))     for fam, n in fam_names.items():
  • Network accessline 406
    fam_names = dict(zip(families, names[nc + nt + nr + ns:]))
  • Network accessline 408
    families[fam] = dict(families[fam], kt=n["kt"], css=n["css"])     types = []     for st, n in zip(types_in, names[nc:nc + nt]):
  • Network accessline 409
    types = []     for st, n in zip(types_in, names[nc:nc + nt]):         fs = fstyles.get(st["role"], {})
  • Network accessline 410
    for st, n in zip(types_in, names[nc:nc + nt]):
  • Network accessline 441
    measured = {r["element"]: r for r in (redline or {}).get("radii", []) if r.get("measured_px") is not None}     radii = []     for r, n in zip(radii_in, names[nc + nt:nc + nt + nr]):
  • Network accessline 442
    radii = []     for r, n in zip(radii_in, names[nc + nt:nc + nt + nr]):         px = float(r.get("px") or 0)
  • Network accessline 443
    for r, n in zip(radii_in, names[nc + nt:nc + nt + nr]):
  • Network accessline 451
    "native": hit.get("native") if hit else None, "shape": hit.get("shape") if hit else None})     spacing = [{"name": s["between"], **n, "dp": _r05(float(s["px"]) * k), "source": "spec (GPT estimate)"}                for s, n in zip(spacing_in
  • Network accessline 452
    spacing = [{"name": s["between"], **n, "dp": _r05(float(s["px"]) * k), "source": "spec (GPT estimate)"}                for s, n in zip(spacing_in, names[nc + nt + nr:nc + nt + nr + ns])]     for sp in spacing:
  • Network accessline 453
    for s, n in zip(spacing_in, names[nc + nt + nr:nc + nt + nr + ns])]
  • Access to secretsline 864
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/trace_rig.py

  • Executable scriptline 1
    Executable file
  • Network accessline 798
    body.append(f'<path d="{L["d"]}" fill="{fill}"{op}/>')     rect = f'<rect width="{w}" height="{h}" fill="{bg}"/>' if bg else ""     return (f'<svg xmlns="http://www.w3.org/2000/svg" width="{W}" height="{H}" viewBox="0 0 {w} {h}">'
  • Network accessline 799
    rect = f'<rect width="{w}" height="{h}" fill="{bg}"/>' if bg else ""     return (f'<svg xmlns="http://www.w3.org/2000/svg" width="{W}" height="{H}" viewBox="0 0 {w} {h}">'             f'<defs>{"".join(defs)}</defs>{rect}' + "\n".join(body) 
  • Network accessline 800
    return (f'<svg xmlns="http://www.w3.org/2000/svg" width="{W}" height="{H}" viewBox="0 0 {w} {h}">'
  • Network accessline 1349
    TR_LOTTIE_JS = "https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.12.2/lottie.min.js"
  • Network accessline 1899
    comps = region_components(res)     n, nc = len(comps), max(comps.values(), default=0)
  • Network accessline 1900
    n, nc = len(comps), max(comps.values(), default=0)

skills/gpt-ui-assets/scripts/gptkit/tween.py

  • Executable scriptline 1
    Executable file
  • Network accessline 13
    TWEEN_ENGINES = ("flow", "rife", "blend") RIFE_MODEL = "rife-v4.6" RIFE_URL = "https://github.com/nihui/rife-ncnn-vulkan/releases/download/20221029/rife-ncnn-vulkan-20221029-{}.zip"
  • Network accessline 14
    RIFE_MODEL = "rife-v4.6" RIFE_URL = "https://github.com/nihui/rife-ncnn-vulkan/releases/download/20221029/rife-ncnn-vulkan-20221029-{}.zip" _RIFE_OS = "macos" if sys.platform == "darwin" else "windows" if os.name == "nt" else "ubuntu"
  • Network accessline 15
    RIFE_URL = "https://github.com/nihui/rife-ncnn-vulkan/releases/download/20221029/rife-ncnn-vulkan-20221029-{}.zip"
  • Network accessline 16
    _RIFE_OS = "macos" if sys.platform == "darwin" else "windows" if os.name == "nt" else "ubuntu" RIFE_INSTALL = (f"  mkdir -p ~/.cache/gptkit/rife && cd ~/.cache/gptkit/rife && curl -LO {RIFE_URL.format(_RIFE_OS)}\n"                 f"  unzip
  • Network accessline 17
    RIFE_INSTALL = (f"  mkdir -p ~/.cache/gptkit/rife && cd ~/.cache/gptkit/rife && curl -LO {RIFE_URL.format(_RIFE_OS)}\n"
  • Dangerous shell operationline 21
    f"rm -r rife-ncnn-vulkan-20221029-{_RIFE_OS} rife-ncnn-vulkan-20221029-{_RIFE_OS}.zip\n"
  • Access to secretsline 42
    [Credential-related source omitted]

skills/gpt-ui-assets/scripts/gptkit/vectordrawable.py

  • Executable scriptline 1
    Executable file
  • Network accessline 348
    return         for par, use in uses:             href = (use.get("href") or use.get("{http://www.w3.org/1999/xlink}href") or "").strip()
  • Network accessline 349
    for par, use in uses:             href = (use.get("href") or use.get("{http://www.w3.org/1999/xlink}href") or "").strip()             if not href.startswith("#") or href[1:] not in ids:
  • Network accessline 350
    href = (use.get("href") or use.get("{http://www.w3.org/1999/xlink}href") or "").strip()
  • Network accessline 364
    g = ET.Element(SVG_NS + "g", {k: v for k, v in use.attrib.items()                                           if k not in ("x", "y", "width", "height", "href", "transform", "id")                                           and not k.startswith(
  • Network accessline 365
    if k not in ("x", "y", "width", "height", "href", "transform", "id")                                           and not k.startswith("{http://www.w3.org/1999/xlink}")})             g.set("transform", (use.get("transform", "") + " " + tf).str
  • Network accessline 366
    and not k.startswith("{http://www.w3.org/1999/xlink}")})
  • Network accessline 446
    continue         src = gel         href = gel.get("href") or gel.get("{http://www.w3.org/1999/xlink}href")
  • Network accessline 447
    src = gel         href = gel.get("href") or gel.get("{http://www.w3.org/1999/xlink}href")         if not any(tag_of(s) == "stop" for s in gel) and href and href[1:] in ids:
  • Network accessline 448
    href = gel.get("href") or gel.get("{http://www.w3.org/1999/xlink}href")
  • Network accessline 730
    body = _svgvd_wrap(ctx, body, f"translate({-ctx['vx']:g} {-ctx['vy']:g})", "    ")     used_grad = ctx["used_grad"]     ns = ' xmlns:aapt="http://schemas.android.com/aapt"' if used_grad else ""
  • Network accessline 731
    used_grad = ctx["used_grad"]     ns = ' xmlns:aapt="http://schemas.android.com/aapt"' if used_grad else ""     api24 = [key for key, value in (("evenOdd fill", 'android:fillType="evenOdd"' in body), ("gradient", used_grad)) if value]
  • Network accessline 732
    ns = ' xmlns:aapt="http://schemas.android.com/aapt"' if used_grad else ""
  • Network accessline 734
    if api24:         ctx["warns"].append(f"needs API 24+ or AppCompat srcCompat: {' / '.join(api24)}")     return (f'<?xml version="1.0" encoding="utf-8"?>\n<vector xmlns:android="http://schemas.android.com/apk/res/android"{ns}\n'
  • Network accessline 735
    ctx["warns"].append(f"needs API 24+ or AppCompat srcCompat: {' / '.join(api24)}")     return (f'<?xml version="1.0" encoding="utf-8"?>\n<vector xmlns:android="http://schemas.android.com/apk/res/android"{ns}\n'             f'    android:widt
  • Network accessline 736
    return (f'<?xml version="1.0" encoding="utf-8"?>\n<vector xmlns:android="http://schemas.android.com/apk/res/android"{ns}\n'
  • Network accessline 748
    AND = "{http://schemas.android.com/apk/res/android}"
  • Network accessline 803
    return "".join(out) + "</g>" * open_clips     body = walk(root)     return (f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {g(root, "viewportWidth")} {g(root, "viewportHeight")}">'
  • Network accessline 804
    body = walk(root)     return (f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {g(root, "viewportWidth")} {g(root, "viewportHeight")}">'             f'<defs>{"".join(defs)}</defs>{body}</svg>')
  • Network accessline 805
    return (f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {g(root, "viewportWidth")} {g(root, "viewportHeight")}">'
  • Access to secretsline 829
    [Credential-related source omitted]
  • Network accessline 875
    "strokeWidth", "strokeAlpha", "fillAlpha", "trimPathStart", "trimPathEnd", "trimPathOffset", "strokeMiterLimit",               "alpha", "startX", "startY", "endX", "endY", "centerX", "centerY", "gradientRadius", "offset"} AAPT_NS = "{http:/
  • Network accessline 877
    AAPT_NS = "{http://schemas.android.com/aapt}"
  • Network accessline 972
    shutil.copy(f, res / Path(f).name)         (Path(td) / "AndroidManifest.xml").write_text(             '<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="gptkit.check"/>')
  • Network accessline 973
    (Path(td) / "AndroidManifest.xml").write_text(             '<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="gptkit.check"/>')         steps = [[aapt2, "compile", "-o", f"{td}/c.zip", "--dir", str(res.parent)]]
  • Network accessline 974
    '<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="gptkit.check"/>')
  • Network accessline 1015
    if jar:             (w / "AndroidManifest.xml").write_text(                 manifest or '<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="gptkit.check"/>')
  • Network accessline 1016
    (w / "AndroidManifest.xml").write_text(                 manifest or '<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="gptkit.check"/>')             steps.append(("link", [aapt2, "link", "-o", str(w / "check.apk"
  • Network accessline 1017
    manifest or '<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="gptkit.check"/>')

skills/gpt-ui-assets/scripts/gptkit/vectorize.py

  • Executable scriptline 1
    Executable file
  • Network accessline 691
    defs = vec.get("defs", "") or ""     vb = str(vec.get("viewBox") or "").strip()     return ET.fromstring(f'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'
  • Network accessline 692
    vb = str(vec.get("viewBox") or "").strip()     return ET.fromstring(f'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'                          f'{f" viewBox={vb!r}" if vb else ""}>{defs if "<defs" in defs
  • Network accessline 693
    return ET.fromstring(f'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'
  • Network accessline 709
    raise ValueError(f"#{gid} is a <{tag}>, not a gradient (patterns, masks and filters are not supported)")         chain.append(gel)         gid = (gel.get("href") or gel.get("{http://www.w3.org/1999/xlink}href") or "").strip().lstrip("#")
  • Network accessline 710
    chain.append(gel)         gid = (gel.get("href") or gel.get("{http://www.w3.org/1999/xlink}href") or "").strip().lstrip("#")     return chain
  • Network accessline 711
    gid = (gel.get("href") or gel.get("{http://www.w3.org/1999/xlink}href") or "").strip().lstrip("#")
  • Network accessline 1094
    f'            android:viewportWidth="{_fmtn(vb[2])}" android:viewportHeight="{_fmtn(vb[3])}">\n' +               "\n".join("    " + ln for x in body for ln in x.split("\n")) + "\n        </vector>\n    </aapt:attr>")     return ('<?xml vers
  • Network accessline 1095
    "\n".join("    " + ln for x in body for ln in x.split("\n")) + "\n        </vector>\n    </aapt:attr>")     return ('<?xml version="1.0" encoding="utf-8"?>\n<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"\n'     
  • Network accessline 1096
    return ('<?xml version="1.0" encoding="utf-8"?>\n<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"\n'
  • Network accessline 1097
    '    xmlns:aapt="http://schemas.android.com/aapt">\n' + vector + "\n" + "\n".join(targets) + "\n</animated-vector>\n")

skills/gpt-ui-assets/tests/avd_eval.py

  • Executable scriptline 1
    Executable file
  • Network accessline 7
    A = "{http://schemas.android.com/apk/res/android}"
  • Network accessline 8
    AAPT_ATTR = "{http://schemas.android.com/aapt}attr"

skills/gpt-ui-assets/tests/fonts/OFL-Inter.txt

  • Network accessline 1
    Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
  • Network accessline 3
    This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: https://openfontlicense.org
  • Network accessline 5
    https://openfontlicense.org

skills/gpt-ui-assets/tests/fonts/OFL-Lora.txt

  • Network accessline 1
    Copyright 2011 The Lora Project Authors (https://github.com/cyrealtype/Lora-Cyrillic), with Reserved Font Name "Lora".
  • Network accessline 3
    This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: https://openfontlicense.org
  • Network accessline 5
    https://openfontlicense.org

skills/gpt-ui-assets/tests/fonts/OFL-Roboto.txt

  • Network accessline 1
    Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic)
  • Network accessline 3
    This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: https://openfontlicense.org
  • Network accessline 5
    https://openfontlicense.org

skills/gpt-ui-assets/tests/svg/arcs_relative.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#1F8A70" d="M4 12a8 8 0 1016 0 8 8 0 10-16 0zm4 0a4 4 0 008 0 4 4 0 00-8 0z" fill-rule="evenodd"/><path d="m2 2h4v4h-4z" fill="#333"/></svg>

skills/gpt-ui-assets/tests/svg/colors.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" color="#0A7CFF"><circle cx="7" cy="7" r="5" fill="currentColor"/><circle cx="17" cy="7" r="5" fill="rgb(255, 64, 32)"/><circle cx="7" cy="17" r="5" fill="orange"/><circle cx="17" c

skills/gpt-ui-assets/tests/svg/fx/2x.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="7"/></svg>

skills/gpt-ui-assets/tests/svg/fx/Arrow-Left.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="7"/></svg>

skills/gpt-ui-assets/tests/svg/fx/bom.svg

  • Network accessline 1
    <U+FEFF><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="7"/></svg>

skills/gpt-ui-assets/tests/svg/fx/clip_figma.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g clip-path="url(#clip0_1_2)"><path d="M12 2L22 22H2L12 2Z" fill="#1E1E1E"/></g><defs><clipPath id="clip0_1_2"><rect width="24" height="24" fill

skills/gpt-ui-assets/tests/svg/fx/clip_real.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><clipPath id="c"><circle cx="12" cy="12" r="8"/></clipPath></defs><g clip-path="url(#c)"><rect width="24" height="12" fill="#08f"/><rect y="12" width="24" height="12" fill="#

skills/gpt-ui-assets/tests/svg/fx/css_class.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.a{fill:#e33}</style><circle class="a" cx="12" cy="12" r="8"/></svg>

skills/gpt-ui-assets/tests/svg/fx/doctype.svg

  • Network accessline 1
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 24 24" style="enable-

skills/gpt-ui-assets/tests/svg/fx/grad_focal.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><radialGradient id="g" gradientUnits="userSpaceOnUse" cx="12" cy="12" r="10" fx="6" fy="6"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#036"/></radialGra

skills/gpt-ui-assets/tests/svg/fx/grad_obb.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g"><stop offset="0" stop-color="#f00"/><stop offset="1" stop-color="#00f"/></linearGradient></defs><rect x="2" y="2" width="20" height="20" fill="url(#g)"

skills/gpt-ui-assets/tests/svg/fx/grad_one_stop.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="24" y2="0"><stop offset="0.5" stop-color="#0c6"/></linearGradient></defs><rect x="2" y="2" width="20" 

skills/gpt-ui-assets/tests/svg/fx/grad_pct.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0" stop-color="#f00"/><stop offset="1" stop-color="#00f"/></linearGradie

skills/gpt-ui-assets/tests/svg/fx/grad_radial_nor.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><radialGradient id="g" gradientUnits="userSpaceOnUse" cx="12" cy="12"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#000"/></radialGradient></defs><rect wi

skills/gpt-ui-assets/tests/svg/fx/grad_transform_figma.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" fill="url(#paint0_radial_1_2)"/><defs><radialGradient id="paint0_radial_1_2" cx="0" cy="0" r="1" gradientUnits="us

skills/gpt-ui-assets/tests/svg/fx/grad_url_quoted.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="24" y2="0"><stop offset="0" stop-color="#f00"/><stop offset="1" stop-color="#00f"/></linearGradient></

skills/gpt-ui-assets/tests/svg/fx/inherit_fill.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#123"><g fill="inherit"><circle cx="12" cy="12" r="7"/></g></svg>

skills/gpt-ui-assets/tests/svg/fx/inkscape.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="24mm" height="24mm" viewBox="0 0 24 24"><sodipodi:namedview id="

skills/gpt-ui-assets/tests/svg/fx/marker.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><marker id="m" markerWidth="4" markerHeight="4" refX="2" refY="2"><path d="M0 0L4 2L0 4z" fill="#000"/></marker></defs><line x1="2" y1="12" x2="18" y2="12" stroke="#000" stro

skills/gpt-ui-assets/tests/svg/fx/material_symbol.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"/></svg>

skills/gpt-ui-assets/tests/svg/fx/named_hsl.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="7" cy="12" r="5" fill="gold"/><circle cx="17" cy="12" r="5" fill="hsl(200, 80%, 50%)"/></svg>

skills/gpt-ui-assets/tests/svg/fx/nested_svg.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="2" y="2" width="20" height="14" fill="#345"/><svg x="10" y="18" width="4" height="4" viewBox="0 0 4 4"><circle cx="2" cy="2" r="2" fill="#f00"/></svg></svg>

skills/gpt-ui-assets/tests/svg/fx/nonscaling.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2)"><path d="M1 6h10" stroke="#000" stroke-width="1" vector-effect="non-scaling-stroke"/></g></svg>

skills/gpt-ui-assets/tests/svg/fx/nonuniform_stroke.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2 0.5)"><rect x="2" y="8" width="8" height="24" fill="none" stroke="#000" stroke-width="1"/></g></svg>

skills/gpt-ui-assets/tests/svg/fx/opacity_pct.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="2" y="2" width="20" height="20" fill="#00f" fill-opacity="50%"/></svg>

skills/gpt-ui-assets/tests/svg/fx/paint_order.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="7" fill="#fc0" stroke="#000" stroke-width="4" paint-order="stroke"/></svg>

skills/gpt-ui-assets/tests/svg/fx/single_quote.svg

  • Network accessline 1
    <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='#c0c'/></svg>

skills/gpt-ui-assets/tests/svg/fx/skew.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="4" y="4" width="10" height="10" transform="skewX(20)" fill="#f80"/></svg>

skills/gpt-ui-assets/tests/svg/fx/tabler_dead.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 12h16"/></svg>

skills/gpt-ui-assets/tests/svg/fx/use_symbol.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><defs><path id="p" d="M0 0h6v6H0z"/></defs><use xlink:href="#p" x="2" y="2" fill="#0a0"/><use href="#p" x="14" y="14" fill="#a00"/></svg>

skills/gpt-ui-assets/tests/svg/fx/visibility_child.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g visibility="hidden"><rect x="2" y="2" width="20" height="20" fill="#f00"/><rect x="8" y="8" width="8" height="8" fill="#0f0" visibility="visible"/></g></svg>

skills/gpt-ui-assets/tests/svg/fx/wh_mismatch.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 24"><rect x="2" y="2" width="44" height="20" rx="4" fill="#06c"/></svg>

skills/gpt-ui-assets/tests/svg/gradient.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="0" y1="2" x2="0" y2="22"><stop offset="0%" stop-color="#BEACFF"/><stop offset="100%" stop-color="#6A4FE0" stop-opaci

skills/gpt-ui-assets/tests/svg/group_opacity.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g opacity="0.5" fill="#E0457B"><circle cx="8" cy="12" r="6" opacity="0.5"/><circle cx="16" cy="12" r="6"/></g></svg>

skills/gpt-ui-assets/tests/svg/rects_dash.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="2" y="2" width="20" height="12" rx="4" fill="#3366FF"/><rect x="4" y="16" width="16" height="6" ry="3" fill="#FF9900"/><line x1="2" y1="23" x2="22" y2="23" stroke="#222" s

skills/gpt-ui-assets/tests/svg/root_attrs.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#5B4FC4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 1

skills/gpt-ui-assets/tests/svg/transforms.svg

  • Network accessline 1
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="translate(12 12) rotate(45)"><rect x="-6" y="-2" width="12" height="4" rx="2" fill="#7A3FF2"/></g><circle cx="4" cy="4" r="2" fill="#7A3FF2" transform="scale(1.5)"/><

skills/gpt-ui-assets/tests/test_api_core.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 20
    [Credential-related source omitted]
  • Access to secretsline 21
    [Credential-related source omitted]
  • Access to secretsline 43
    [Credential-related source omitted]
  • Access to secretsline 46
    [Credential-related source omitted]
  • Access to secretsline 48
    [Credential-related source omitted]
  • Access to secretsline 55
    [Credential-related source omitted]
  • Access to secretsline 57
    [Credential-related source omitted]
  • Access to secretsline 77
    [Credential-related source omitted]
  • Network accessline 111
    with tempfile.TemporaryDirectory() as td:         cfg = Path(td) / "env"         cfg.write_text('GPTKIT_BASE_URL="https://gw.example/v1/?a=b=c"\n# GPTKIT_IMAGE_MODEL=commented\n'
  • Network accessline 112
    [Credential-related source omitted]
  • Network accessline 113
    cfg.write_text('GPTKIT_BASE_URL="https://gw.example/v1/?a=b=c"\n# GPTKIT_IMAGE_MODEL=commented\n'
  • Access to secretsline 114
    [Credential-related source omitted]
  • Access to secretsline 115
    [Credential-related source omitted]
  • Network accessline 116
    GPTKIT_BASE_URL=None, OPENAI_BASE_URL=None, GPTKIT_IMAGE_MODEL=None, GPTKIT_RETRIES=None, GPTKIT_DEBUG=None):             c = K._config()             assert c["base"] == "https://gw.example/v1/?a=b=c" and c["key"] == "sk-file"
  • Network accessline 117
    c = K._config()             assert c["base"] == "https://gw.example/v1/?a=b=c" and c["key"] == "sk-file"             assert c["text_model"] == "from-env" and c["image_model"] == "gpt-image-2"
  • Network accessline 118
    assert c["base"] == "https://gw.example/v1/?a=b=c" and c["key"] == "sk-file"
  • Access to secretsline 137
    [Credential-related source omitted]
  • Access to secretsline 141
    [Credential-related source omitted]
  • Access to secretsline 155
    [Credential-related source omitted]
  • Network accessline 207
    assert e.status == 503 and e.code == "exhausted" and len(calls) == 3 and len(sleeps) == 2     assert "after 3 attempts" in str(e) and "server_error" in str(e) and "overloaded" in str(e)     with api([K.requests.ConnectionError("dns failed")
  • Network accessline 208
    assert "after 3 attempts" in str(e) and "server_error" in str(e) and "overloaded" in str(e)     with api([K.requests.ConnectionError("dns failed")] * 3, []) as calls:         with contextlib.redirect_stderr(io.StringIO()):
  • Network accessline 209
    with api([K.requests.ConnectionError("dns failed")] * 3, []) as calls:
  • Network accessline 319
    try:         K.requests.get = lambda url, timeout=None: type("G", (), {"content": png_bytes((2, 3)), "raise_for_status": lambda s: None})()         raw, meta = K._image_result({"data": [{"url": "https://img.example/x.png"}]})
  • Network accessline 320
    K.requests.get = lambda url, timeout=None: type("G", (), {"content": png_bytes((2, 3)), "raise_for_status": lambda s: None})()         raw, meta = K._image_result({"data": [{"url": "https://img.example/x.png"}]})         assert Image.open(i
  • Network accessline 321
    raw, meta = K._image_result({"data": [{"url": "https://img.example/x.png"}]})
  • Network accessline 324
    def fail(url, timeout=None):             raise K.requests.HTTPError("404 Client Error")
  • Network accessline 325
    raise K.requests.HTTPError("404 Client Error")
  • Network accessline 326
    K.requests.get = fail         assert raises(lambda: K._image_result({"data": [{"url": "https://img.example/x.png"}]})).code == "no_image"     finally:
  • Network accessline 327
    assert raises(lambda: K._image_result({"data": [{"url": "https://img.example/x.png"}]})).code == "no_image"     finally:         K.requests.get = saved
  • Network accessline 375
    assert K.ask(["q"], "json") == {"b": 2} and calls[0]["json"]["text"]["format"] == {"type": "json_object"}     ok = {"status": "completed", "output": [{"type": "message", "content": [         {"type": "output_text", "text": "x", "annotations
  • Network accessline 376
    ok = {"status": "completed", "output": [{"type": "message", "content": [         {"type": "output_text", "text": "x", "annotations": [{"type": "url_citation", "title": "T", "url": "https://a", "start_index": 0, "end_index": 1},             
  • Network accessline 377
    {"type": "output_text", "text": "x", "annotations": [{"type": "url_citation", "title": "T", "url": "https://a", "start_index": 0, "end_index": 1},
  • Network accessline 379
    with api([R(200, ok)], []):         text, cites = K.think("q", effort="max")     assert text == "x" and cites == [{"title": "T", "url": "https://a", "start_index": 0, "end_index": 1}]
  • Network accessline 380
    text, cites = K.think("q", effort="max")     assert text == "x" and cites == [{"title": "T", "url": "https://a", "start_index": 0, "end_index": 1}]     assert "effort" in str(raises(lambda: K.think("q", effort="ultra"), ValueError))
  • Network accessline 381
    assert text == "x" and cites == [{"title": "T", "url": "https://a", "start_index": 0, "end_index": 1}]
  • Network accessline 417
    r["competitors"][0]["pricing"] = "free; Pro $3/mo | Family $5/mo"     r["competitors"][0]["name"] = "Bud|get\nApp"     md = K._report_md(r, [{"title": "T", "url": "https://a"}])
  • Network accessline 418
    r["competitors"][0]["name"] = "Bud|get\nApp"     md = K._report_md(r, [{"title": "T", "url": "https://a"}])     rows = [l for l in md.splitlines() if l.startswith("| ")]
  • Network accessline 419
    md = K._report_md(r, [{"title": "T", "url": "https://a"}])
  • Network accessline 420
    rows = [l for l in md.splitlines() if l.startswith("| ")]     assert len(cells(rows[0])) == 5 and all(len(cells(x)) == 5 for x in rows[1:]), rows     assert "Family $5/mo" in md and "\\|" in md and "[T](https://a)" in md
  • Network accessline 421
    assert len(cells(rows[0])) == 5 and all(len(cells(x)) == 5 for x in rows[1:]), rows     assert "Family $5/mo" in md and "\\|" in md and "[T](https://a)" in md     b = json.loads((FIX / "blueprint.json").read_text())
  • Network accessline 422
    assert "Family $5/mo" in md and "\\|" in md and "[T](https://a)" in md
  • Access to secretsline 475
    [Credential-related source omitted]
  • Access to secretsline 496
    [Credential-related source omitted]
  • Access to secretsline 502
    [Credential-related source omitted]
  • Access to secretsline 509
    [Credential-related source omitted]
  • Access to secretsline 537
    [Credential-related source omitted]
  • Access to secretsline 588
    [Credential-related source omitted]
  • Access to secretsline 598
    [Credential-related source omitted]
  • Access to secretsline 612
    [Credential-related source omitted]
  • Access to secretsline 621
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_appicon.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 19
    [Credential-related source omitted]
  • Access to secretsline 20
    [Credential-related source omitted]
  • Network accessline 23
    KEYED = {"base": "http://mock.invalid/v1", "key": "sk-test", "image_model": "gpt-image-2", "image_model_pinned": True,
  • Network accessline 25
    CIRCLE = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><circle cx="54" cy="54" r="24" fill="#000"/></svg>'
  • Access to secretsline 113
    [Credential-related source omitted]
  • Network accessline 165
    sil = Image.new("L", (M, M), 0)         ImageDraw.Draw(sil).ellipse([500, 500, 1036, 1036], fill=255)         two = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><circle cx="54" cy="54" r="20" fill="#000"/>'
  • Network accessline 166
    ImageDraw.Draw(sil).ellipse([500, 500, 1036, 1036], fill=255)         two = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><circle cx="54" cy="54" r="20" fill="#000"/>'                '<rect x="40" y="40" width="8" height="
  • Network accessline 167
    two = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><circle cx="54" cy="54" r="20" fill="#000"/>'
  • Network accessline 291
    def test_glyph_empty_not_referenced(self):         with tempfile.TemporaryDirectory() as tmp:             code, log, out, rep = glyph_build(tmp, '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"></svg>')
  • Network accessline 292
    with tempfile.TemporaryDirectory() as tmp:             code, log, out, rep = glyph_build(tmp, '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"></svg>')             self.assertEqual(code, 0, log)
  • Network accessline 293
    code, log, out, rep = glyph_build(tmp, '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"></svg>')
  • Network accessline 308
    sil = Image.new("L", (M, M), 0)         ImageDraw.Draw(sil).ellipse([500, 500, 1036, 1036], fill=255)         off = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><rect x="200" y="200" width="10" height="10"/></svg>'
  • Network accessline 309
    ImageDraw.Draw(sil).ellipse([500, 500, 1036, 1036], fill=255)         off = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><rect x="200" y="200" width="10" height="10"/></svg>'         saved = g.ask
  • Network accessline 310
    off = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 108"><rect x="200" y="200" width="10" height="10"/></svg>'

skills/gpt-ui-assets/tests/test_cli_errors.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 27
    [Credential-related source omitted]
  • Access to secretsline 28
    [Credential-related source omitted]
  • Access to secretsline 87
    [Credential-related source omitted]
  • Access to secretsline 90
    [Credential-related source omitted]
  • Access to secretsline 92
    [Credential-related source omitted]
  • Access to secretsline 99
    [Credential-related source omitted]
  • Access to secretsline 101
    [Credential-related source omitted]
  • Network accessline 134
    def get(url, *a, **k):         raise K.requests.ConnectionError(f"offline test: {url}")
  • Network accessline 135
    raise K.requests.ConnectionError(f"offline test: {url}")
  • Access to secretsline 143
    [Credential-related source omitted]
  • Network accessline 224
    (P / "forge_report.json").write_text(json.dumps({"flame": {"candidates": [cand], "chosen": cand, "complete": True}}))     (P / "svg").mkdir()     (P / "svg" / "drop.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 2
  • Network accessline 225
    (P / "svg").mkdir()     (P / "svg" / "drop.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">'                                         '<circle cx="12" cy="12" r="9" fill="#4FC3F7"/><circle
  • Network accessline 226
    (P / "svg" / "drop.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">'
  • Access to secretsline 537
    [Credential-related source omitted]
  • Access to secretsline 538
    [Credential-related source omitted]
  • Access to secretsline 539
    [Credential-related source omitted]
  • Network accessline 597
    man["assets"] += [dict(icon, name=f"ic{i}", bbox={"x": 395, "y": 895, "w": 90, "h": 90}) for i in range(7)]     (P / "assets.json").write_text(json.dumps(man))     svg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle c
  • Network accessline 599
    svg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="#4FC3F7"/></svg>'
  • Access to secretsline 642
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_code_review.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 17
    [Credential-related source omitted]
  • Access to secretsline 18
    [Credential-related source omitted]
  • Network accessline 42
    dup = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#ff0000}.st0{fill:#00ff00;stroke:#0000ff}'
  • Network accessline 56
    base = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><radialGradient id="g"{attrs}>'
  • Network accessline 116
    a, b, c, d, e, f = gk._tf_affine("skewX(45)")     assert abs(c - 1.0) < 1e-9 and (a, b, d, e, f) == (1, 0, 1, 0, 0)     skewed = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="4" y="4" width="8" height="16" '
  • Network accessline 117
    assert abs(c - 1.0) < 1e-9 and (a, b, d, e, f) == (1, 0, 1, 0, 0)     skewed = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="4" y="4" width="8" height="16" '               'transform="skewX(30)" fill="#123456"/></sv
  • Network accessline 118
    skewed = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="4" y="4" width="8" height="16" '

skills/gpt-ui-assets/tests/test_codex_cli.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]
  • Access to secretsline 22
    [Credential-related source omitted]
  • Access to secretsline 25
    [Credential-related source omitted]
  • Access to secretsline 27
    [Credential-related source omitted]
  • Access to secretsline 34
    [Credential-related source omitted]
  • Access to secretsline 36
    [Credential-related source omitted]
  • Access to secretsline 58
    [Credential-related source omitted]
  • Access to secretsline 60
    [Credential-related source omitted]
  • Access to secretsline 64
    [Credential-related source omitted]
  • Access to secretsline 190
    [Credential-related source omitted]
  • Access to secretsline 191
    [Credential-related source omitted]
  • Access to secretsline 210
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_cost.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]
  • Access to secretsline 25
    [Credential-related source omitted]
  • Access to secretsline 28
    [Credential-related source omitted]
  • Access to secretsline 30
    [Credential-related source omitted]
  • Access to secretsline 37
    [Credential-related source omitted]
  • Access to secretsline 39
    [Credential-related source omitted]
  • Network accessline 101
    def test_cost_json_and_malformed():     with tempfile.TemporaryDirectory() as td, env(GPTKIT_BASE_URL="https://api.openai.com/v1", GPTKIT_CONFIG="/none"):
  • Network accessline 102
    with tempfile.TemporaryDirectory() as td, env(GPTKIT_BASE_URL="https://api.openai.com/v1", GPTKIT_CONFIG="/none"):

skills/gpt-ui-assets/tests/test_design.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_design_to_code.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 22
    [Credential-related source omitted]
  • Access to secretsline 23
    [Credential-related source omitted]
  • Access to secretsline 159
    [Credential-related source omitted]
  • Access to secretsline 163
    [Credential-related source omitted]
  • Access to secretsline 165
    [Credential-related source omitted]
  • Access to secretsline 172
    [Credential-related source omitted]
  • Access to secretsline 174
    [Credential-related source omitted]
  • Network accessline 508
    def _no_net(*a, **k):     raise g.requests.ConnectionError("network disabled in tests")
  • Network accessline 509
    raise g.requests.ConnectionError("network disabled in tests")
  • Access to secretsline 553
    [Credential-related source omitted]
  • Network accessline 560
    assert all((d / "fonts" / x["ttf"]).exists() for x in fj["families"][0]["files"])     root = ET.parse(d / "fonts" / "android" / "res" / "font" / "inter.xml").getroot()     A, APP = "{http://schemas.android.com/apk/res/android}", "{http://sc
  • Network accessline 561
    root = ET.parse(d / "fonts" / "android" / "res" / "font" / "inter.xml").getroot()     A, APP = "{http://schemas.android.com/apk/res/android}", "{http://schemas.android.com/apk/res-auto}"     fonts = list(root)
  • Network accessline 562
    A, APP = "{http://schemas.android.com/apk/res/android}", "{http://schemas.android.com/apk/res-auto}"
  • Network accessline 638
    def raise_for_status(self):         if not self.ok:             raise g.requests.HTTPError(f"HTTP {self.status_code}")
  • Network accessline 640
    raise g.requests.HTTPError(f"HTTP {self.status_code}")
  • Access to secretsline 674
    [Credential-related source omitted]
  • Access to secretsline 682
    [Credential-related source omitted]
  • Access to secretsline 916
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_devices.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_docs.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 22
    [Credential-related source omitted]
  • Access to secretsline 23
    [Credential-related source omitted]
  • Access to secretsline 111
    [Credential-related source omitted]
  • Access to secretsline 126
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_export.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_forge.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 18
    [Credential-related source omitted]
  • Access to secretsline 19
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_frames.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 20
    [Credential-related source omitted]
  • Access to secretsline 21
    [Credential-related source omitted]
  • Network accessline 101
    ANDROID_NS = "{http://schemas.android.com/apk/res/android}"

skills/gpt-ui-assets/tests/test_gallery.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]
  • Access to secretsline 18
    [Credential-related source omitted]
  • Access to secretsline 28
    [Credential-related source omitted]
  • Access to secretsline 29
    [Credential-related source omitted]
  • Access to secretsline 35
    [Credential-related source omitted]
  • Access to secretsline 37
    [Credential-related source omitted]
  • Network accessline 254
    h.port = srv.server_address[1]         threading.Thread(target=srv.serve_forever, daemon=True).start()         base = f"http://127.0.0.1:{h.port}"
  • Network accessline 256
    base = f"http://127.0.0.1:{h.port}"
  • Network accessline 258
    def req(path, data=None, headers=None):             r = urllib.request.Request(base + path, data=data, headers=headers or {}, method="POST" if data else "GET")
  • Network accessline 259
    r = urllib.request.Request(base + path, data=data, headers=headers or {}, method="POST" if data else "GET")
  • Network accessline 260
    try:                 with urllib.request.urlopen(r) as resp:                     return resp.status, resp.read()
  • Network accessline 261
    with urllib.request.urlopen(r) as resp:

skills/gpt-ui-assets/tests/test_hybrid.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 22
    [Credential-related source omitted]
  • Access to secretsline 23
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_platform.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 13
    [Credential-related source omitted]
  • Access to secretsline 14
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_platform_validity.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 16
    [Credential-related source omitted]
  • Access to secretsline 17
    [Credential-related source omitted]
  • Network accessline 20
    A = "{http://schemas.android.com/apk/res/android}"
  • Network accessline 21
    NS = 'xmlns="http://www.w3.org/2000/svg"'
  • Access to secretsline 94
    [Credential-related source omitted]
  • Network accessline 160
    saved = {k: getattr(g, k) for k in ("ask", "_config", "_vd_lint", "_call")}         g.ask = lambda *a, **k: answer         g._config = lambda: {"base": "http://mock.invalid/v1", "key": "sk-test", "image_model": "gpt-image-2", "text_model": 
  • Network accessline 161
    g.ask = lambda *a, **k: answer         g._config = lambda: {"base": "http://mock.invalid/v1", "key": "sk-test", "image_model": "gpt-image-2", "text_model": "gpt-6", "config_path": "-"}         g._vd_lint = lambda xml: ["forced lint failure"
  • Network accessline 162
    g._config = lambda: {"base": "http://mock.invalid/v1", "key": "sk-test", "image_model": "gpt-image-2", "text_model": "gpt-6", "config_path": "-"}

skills/gpt-ui-assets/tests/test_scenes.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 17
    [Credential-related source omitted]
  • Access to secretsline 18
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_sequence.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 19
    [Credential-related source omitted]
  • Access to secretsline 20
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_status.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 13
    [Credential-related source omitted]
  • Access to secretsline 14
    [Credential-related source omitted]
  • Network accessline 143
    put(d / "design_spec.json")         svg = put(d / "svg" / "mark.svg",                   '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">'
  • Network accessline 144
    svg = put(d / "svg" / "mark.svg",                   '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">'                   '<path fill="#000000" d="M3 3h18v18H3z"/></svg>')
  • Network accessline 145
    '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">'

skills/gpt-ui-assets/tests/test_store.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 21
    [Credential-related source omitted]
  • Access to secretsline 22
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_svg.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 10
    [Credential-related source omitted]
  • Access to secretsline 11
    [Credential-related source omitted]
  • Network accessline 13
    FIX = HERE / "svg" FX = FIX / "fx"  # real-world edge cases: converted individually, not part of the round-trip corpus A = "{http://schemas.android.com/apk/res/android}"
  • Network accessline 15
    A = "{http://schemas.android.com/apk/res/android}"
  • Network accessline 87
    import tempfile     from PIL import Image, ImageDraw     icon = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" '
  • Network accessline 88
    from PIL import Image, ImageDraw     icon = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" '             'stroke-linecap="round"><path d="M4 12h16"/></svg>')
  • Network accessline 89
    icon = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" '
  • Network accessline 115
    RECT = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="24" height="24" fill="#f00"/></svg>'
  • Network accessline 147
    returncode, stdout = 1, ""         stderr = ("[0928/120000.000000:ERROR:zygote_host_impl_linux.cc(105)] Running as root without --no-sandbox "                   "is not supported. See https://crbug.com/638180.\n")
  • Network accessline 148
    stderr = ("[0928/120000.000000:ERROR:zygote_host_impl_linux.cc(105)] Running as root without --no-sandbox "                   "is not supported. See https://crbug.com/638180.\n")     saved, K._warned_chrome = subprocess.run, False
  • Network accessline 149
    "is not supported. See https://crbug.com/638180.\n")
  • Network accessline 165
    def test_sized_svg_quotes():     sq = "<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='#c0c'/></svg>"
  • Network accessline 166
    sq = "<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='#c0c'/></svg>"
  • Network accessline 169
    assert root.get("width") == "64" and root.get("height") == "64" and out.count("width=") == 1     bare = '<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>'     assert 'xmlns="http://www.w3.org/2000/svg"' in K._ensure_xmlns(bare
  • Network accessline 170
    bare = '<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>'     assert 'xmlns="http://www.w3.org/2000/svg"' in K._ensure_xmlns(bare)     assert K._ensure_xmlns(sq) == sq
  • Network accessline 171
    assert 'xmlns="http://www.w3.org/2000/svg"' in K._ensure_xmlns(bare)
  • Access to secretsline 189
    [Credential-related source omitted]
  • Access to secretsline 194
    [Credential-related source omitted]
  • Access to secretsline 195
    [Credential-related source omitted]
  • Access to secretsline 211
    [Credential-related source omitted]
  • Access to secretsline 213
    [Credential-related source omitted]
  • Network accessline 220
    assert any("nan/inf" in e for e in K._vd_lint(good.replace('android:pathData="', 'android:pathData="M nan 0 ')))     assert any("viewportWidth" in e for e in K._vd_lint(good.replace('android:viewportWidth="24"', 'android:viewportWidth="0"')
  • Network accessline 221
    assert any("viewportWidth" in e for e in K._vd_lint(good.replace('android:viewportWidth="24"', 'android:viewportWidth="0"')))     rad = ('<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.
  • Network accessline 222
    rad = ('<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" '
  • Network accessline 227
    errs = K._vd_lint(rad)     assert any("gradientRadius" in e for e in errs) and any("two colours" in e for e in errs), errs     assert K._vd_lint("<vector") and K._vd_lint('<shape xmlns:android="http://schemas.android.com/apk/res/android"/>'
  • Network accessline 229
    assert K._vd_lint("<vector") and K._vd_lint('<shape xmlns:android="http://schemas.android.com/apk/res/android"/>')
  • Network accessline 238
    d = Path(td)         (d / "empty").mkdir()         (d / "bad_vb.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24"><circle cx="12" cy="12" r="7"/></svg>')
  • Network accessline 239
    (d / "empty").mkdir()         (d / "bad_vb.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24"><circle cx="12" cy="12" r="7"/></svg>')         (d / "good.svg").write_text(RECT)
  • Network accessline 240
    (d / "bad_vb.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24"><circle cx="12" cy="12" r="7"/></svg>')
  • Network accessline 241
    (d / "good.svg").write_text(RECT)         (d / "tr.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="translate()"><circle cx="12" cy="12" r="7"/></g></svg>')         a = argparse.Namespace(svgs=[str
  • Network accessline 242
    (d / "tr.svg").write_text('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="translate()"><circle cx="12" cy="12" r="7"/></g></svg>')
  • Network accessline 264
    assert "no SVG files" in str(e.code)     try:         K.svg_to_vd('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0"><rect width="1" height="1"/></svg>')
  • Network accessline 265
    try:         K.svg_to_vd('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0"><rect width="1" height="1"/></svg>')         assert False, "zero viewBox accepted"
  • Network accessline 266
    K.svg_to_vd('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0"><rect width="1" height="1"/></svg>')
  • Network accessline 307
    root = ET.fromstring(K.svg_to_vd(fx("wh_mismatch")))     assert root.get(A + "width") == "24dp" and root.get(A + "height") == "12dp"  # viewBox aspect kept     svg = '<svg xmlns="http://www.w3.org/2000/svg" width="18pt" viewBox="0 0 24 24">
  • Network accessline 308
    assert root.get(A + "width") == "24dp" and root.get(A + "height") == "12dp"  # viewBox aspect kept     svg = '<svg xmlns="http://www.w3.org/2000/svg" width="18pt" viewBox="0 0 24 24"><rect width="24" height="24"/></svg>'     assert ET.froms
  • Network accessline 309
    svg = '<svg xmlns="http://www.w3.org/2000/svg" width="18pt" viewBox="0 0 24 24"><rect width="24" height="24"/></svg>'
  • Network accessline 310
    assert ET.fromstring(K.svg_to_vd(svg)).get(A + "width") == "24dp"     svg = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" viewBox="0 0 512 512"><rect width="24" height="24"/></svg>'     warns = []
  • Network accessline 311
    svg = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" viewBox="0 0 512 512"><rect width="24" height="24"/></svg>'
  • Network accessline 315
    root = ET.fromstring(K.svg_to_vd(svg, 24))     assert root.get(A + "width") == "24dp"     assert ET.fromstring(K.svg_to_vd('<svg xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24"/></svg>')).get(A + "width") == "24dp"
  • Network accessline 317
    assert ET.fromstring(K.svg_to_vd('<svg xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24"/></svg>')).get(A + "width") == "24dp"
  • Network accessline 327
    g = ET.fromstring(K.svg_to_vd(fx("grad_pct"))).find(".//gradient")     assert (g.get(A + "startX"), g.get(A + "endX"), g.get(A + "endY")) == ("0", "24", "0")     svg = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><rad
  • Network accessline 328
    assert (g.get(A + "startX"), g.get(A + "endX"), g.get(A + "endY")) == ("0", "24", "0")     svg = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><radialGradient id="g" gradientUnits="userSpaceOnUse" '            'cx="12"
  • Network accessline 329
    svg = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><radialGradient id="g" gradientUnits="userSpaceOnUse" '
  • Network accessline 337
    g = ET.fromstring(K.svg_to_vd(svg.format(r="50%"))).find(".//gradient")     assert abs(float(g.get(A + "gradientRadius")) - 12) < 1e-6     lin = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" grad
  • Network accessline 338
    assert abs(float(g.get(A + "gradientRadius")) - 12) < 1e-6     lin = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse">'            '{stops}</linearGradient></defs><rec
  • Network accessline 339
    lin = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="g" gradientUnits="userSpaceOnUse">'
  • Network accessline 352
    ST = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#C9B8FF" stroke-width="1.75" '
  • Network accessline 433
    def ask2(parts, schema=None, name="result", model=None):             return {"files": [{"name": "Sleep Timer", "svg": ST.replace(' xmlns="http://www.w3.org/2000/svg"', "") +
  • Network accessline 434
    return {"files": [{"name": "Sleep Timer", "svg": ST.replace(' xmlns="http://www.w3.org/2000/svg"', "") +
  • Network accessline 442
    K.ask = saved         assert code == 0, out         assert 'xmlns="http://www.w3.org/2000/svg"' in (d / "icons" / "sleep_timer.svg").read_text()
  • Network accessline 443
    assert code == 0, out         assert 'xmlns="http://www.w3.org/2000/svg"' in (d / "icons" / "sleep_timer.svg").read_text()         assert "(kept out of --vd)" not in out  # dasharray is a warning, not a conversion failure
  • Network accessline 444
    assert 'xmlns="http://www.w3.org/2000/svg"' in (d / "icons" / "sleep_timer.svg").read_text()
  • Network accessline 500
    def test_snap_style():     svg = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#000">'
  • Network accessline 501
    svg = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#000">'
  • Network accessline 531
    out = K.normalize_svg(ICONS["heart"], (5, 5.5, 19, 20.5), 24, 2)     assert out and "transform" not in out and ET.fromstring(out).get("viewBox") == "0 0 24 24"     rot = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x=
  • Network accessline 532
    assert out and "transform" not in out and ET.fromstring(out).get("viewBox") == "0 0 24 24"     rot = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="8" y="8" width="8" height="8" '            'transform="rotate(45 12 
  • Network accessline 533
    rot = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="8" y="8" width="8" height="8" '
  • Network accessline 538
    d = K.vd_roundtrip([(rot, K.svg_to_vd(b))])[0]         assert d and d["mean"] < 2 and d["strong"] <= 16, d     sc = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2)"><path d="M1 6h10" '
  • Network accessline 539
    assert d and d["mean"] < 2 and d["strong"] <= 16, d     sc = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2)"><path d="M1 6h10" '           'stroke="#000" style="stroke-width:1;stroke-dasharray:1 1"/></g
  • Network accessline 540
    sc = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2)"><path d="M1 6h10" '
  • Network accessline 542
    b = K._bake_transforms(sc)     assert b and "stroke-width:2" in b and "stroke-dasharray:2 2" in b and "M2,12 L22,12" in b, b     skew = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2 1)"><path d="M2 8h8"
  • Network accessline 543
    assert b and "stroke-width:2" in b and "stroke-dasharray:2 2" in b and "M2,12 L22,12" in b, b     skew = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2 1)"><path d="M2 8h8" '             'stroke="#000"/>
  • Network accessline 544
    skew = ('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(2 1)"><path d="M2 8h8" '
  • Network accessline 602
    for bad in ("mask", "text"):         try:             K.svg_to_vd(f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><{bad} id="m"/><g {bad}="url(#m)"/></svg>')
  • Network accessline 603
    try:             K.svg_to_vd(f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><{bad} id="m"/><g {bad}="url(#m)"/></svg>')             assert False, bad
  • Network accessline 604
    K.svg_to_vd(f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><{bad} id="m"/><g {bad}="url(#m)"/></svg>')
  • Network accessline 612
    print("  (skipped: no SVG renderer)")         return     S = 'xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"'
  • Network accessline 613
    return     S = 'xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"'     bad = {  # conversions that lose content but stay under mean 2 (from the audit's metric_cases.py)
  • Network accessline 614
    S = 'xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"'

skills/gpt-ui-assets/tests/test_trace_rig.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 12
    [Credential-related source omitted]
  • Access to secretsline 13
    [Credential-related source omitted]
  • Access to secretsline 94
    [Credential-related source omitted]
  • Access to secretsline 95
    [Credential-related source omitted]
  • Access to secretsline 107
    [Credential-related source omitted]
  • Access to secretsline 109
    [Credential-related source omitted]
  • Network accessline 285
    "aapt2 compile ok; link skipped (no $ANDROID_HOME/platforms"), rep["vd"]         assert "valid" not in rep["vd"]["aapt2"]         bad = '<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp">\n<path'
  • Network accessline 286
    assert "valid" not in rep["vd"]["aapt2"]         bad = '<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp">\n<path'         v = g._tr_aapt2(bad, "img_bad")
  • Network accessline 287
    bad = '<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp">\n<path'

skills/gpt-ui-assets/tests/test_tween.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 12
    [Credential-related source omitted]
  • Access to secretsline 13
    [Credential-related source omitted]
  • Access to secretsline 84
    [Credential-related source omitted]
  • Access to secretsline 91
    [Credential-related source omitted]

skills/gpt-ui-assets/tests/test_vector.py

  • Executable scriptline 1
    Executable file
  • Access to secretsline 18
    [Credential-related source omitted]
  • Access to secretsline 19
    [Credential-related source omitted]
  • Network accessline 63
    assert fit and gk._vec_vb(dict(v, viewBox=fit))[2] > 44     root = ET.fromstring(gk.build_avd(v, 1.2, 24))     names = [t.get("{http://schemas.android.com/apk/res/android}name") for t in root.findall("target")]
  • Network accessline 64
    root = ET.fromstring(gk.build_avd(v, 1.2, 24))     names = [t.get("{http://schemas.android.com/apk/res/android}name") for t in root.findall("target")]     assert "heart" in names and {"blob_p0", "blob_p1", "blob_p2"} <= set(names), names
  • Network accessline 65
    names = [t.get("{http://schemas.android.com/apk/res/android}name") for t in root.findall("target")]
  • Network accessline 132
    with _patched(_lottie_js=lambda: None, _LOTTIE_JS_REASON="could not fetch (test)"):
  • Network accessline 133
    how, px = gk._review_sheet(v, lot, None, out, "#1b1d33", 4)         assert how == "svg fallback (lottie-web unavailable: could not fetch (test))" and px is None, how         assert (out / "keys_review.png").exists() and not list(out.glob("k
  • Network accessline 134
    assert how == "svg fallback (lottie-web unavailable: could not fetch (test))" and px is None, how
  • Network accessline 147
    NS = 'xmlns="http://www.w3.org/2000/svg"'
  • Network accessline 149
    'stroke-linecap="round" stroke-linejoin="round"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 '                 '0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></svg>') A = "{http://sch
  • Network accessline 150
    '0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></svg>') A = "{http://schemas.android.com/apk/res/android}" KIT = str(Path(__file__).parent.parent / "scripts" / "gptkit.py")
  • Network accessline 151
    A = "{http://schemas.android.com/apk/res/android}"
  • Network accessline 197
    '<linearGradient id="s">@S@</linearGradient><linearGradient id="g" xlink:href="#s" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="24" y2="0"/>'):         g = g.replace("@S@", '<stop offset="0" stop-color="#FF0000"/><stop offset="1" stop-c
  • Network accessline 198
    g = g.replace("@S@", '<stop offset="0" stop-color="#FF0000"/><stop offset="1" stop-color="#0000FF"/>')         v = _import(f'<svg {NS} xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><defs>{g}</defs><rect width="24" height="2
  • Network accessline 199
    v = _import(f'<svg {NS} xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><defs>{g}</defs><rect width="24" height="24" fill="url(#g)"/></svg>')
  • Access to secretsline 295
    [Credential-related source omitted]

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Declared and executed: 23 facts
Signal confidence: 477 facts

and 427 more

Only the first 500 facts are listed.

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeNativeManifest .claude-plugin/marketplace.json.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md skills/gpt-ui-assets/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md skills/gpt-ui-assets/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md skills/gpt-ui-assets/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md skills/gpt-ui-assets/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md skills/gpt-ui-assets/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.