Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

opt-library

Skill by gridaco

Sets up, downloads, verifies and seeds the optional Grida Library developer corpus into a local Supabase stack. Built for contributors working on Library browse, search and Desktop reference picking.

  • Score 81
  • 2.7k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install opt-library

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gridaco/grida /tmp/grida && mkdir -p ~/.claude/skills && cp -r /tmp/grida/.agents/skills/opt-library ~/.claude/skills/opt-library

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install opt-library in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

opt-library is a setup and seeding skill for the optional Grida Library service fixture. It adds a realistic corpus of images and catalog rows to a Grida stack that is already running on local Supabase. The current Home prerelease contains 631 images and is about 137 MiB compressed. The seed command downloads the pinned public release, verifies its SHA-256, manifest, inventory, assets and embedding contract, then uploads assets to the local library bucket and upserts catalog rows and embeddings.

The importer accepts only the exact 127.0.0.1 API and database ports declared in the checkout's supabase/config.toml, and rejects other hosts and caller-supplied keys. Seeding does not call an AI provider because the archive already contains the embeddings. The skill is for developers working on Library browse and search, Desktop reference picking, agent Library tools, or the gridaco/grida consumer of gridaco/library releases.

Written from the project's SKILL.md and checked against it.

What it can do

  • seedDownloads, verifies and seeds the pinned developer corpus into local Supabase.
  • downloadFetches the pinned release into .tmp/opt-library without touching the database.
  • verifyChecks the complete archive before any database or storage write.
  • --limitRuns a smaller smoke seed, for example with 12 items.
  • --archiveVerifies or seeds a maintainer-built archive as an explicit local override.

What you need

  • Local Supabase stack running with supabase start
  • Python 3.12
  • psql

Try asking

  • Seed the local Library corpus with a 12-item smoke test.
  • Download and verify the pinned Library developer corpus.
  • Verify a maintainer-built Library archive at a local path.

Good to know

  • Optional data: supabase db reset --local removes the seeded corpus.
  • Runtime semantic queries need Grida's configured query-embedding provider.
  • Only exact local 127.0.0.1 endpoints are accepted, not production or remote hosts.
  • The default release is pinned and never follows latest.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/opt-library/SKILL.md, .agents/skills/opt-library/scripts/seed.py, .agents/skills/opt-library/scripts/test_seed.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • agents/openai.yaml216 B
  • scripts/seed.py41 KB
  • scripts/test_seed.py10 KB

Alternatives to opt-library

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

opt-library: common questions

Is the Library corpus part of the standard local database reset?

No. The developer corpus is kept out of supabase db reset because it adds download and storage costs for every contributor. Rerun the skill when you need it.

Does seeding the Library corpus call an AI provider?

No. The approved archive already contains the matching image and text representations. Semantic queries at runtime still need the configured query-embedding provider, while cold browse works without it.

Can this skill seed a production Supabase project?

No. It discovers the local stack itself and rejects any destination other than the exact configured 127.0.0.1 endpoints.

How do I install opt-library?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is opt-library free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is opt-library safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to opt-library?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

opt-library Install

Add to stack

Loading.