shopify-app-offline-access-tokens
Skill by Kyon147
Explains how to enable and operate expiring Shopify offline access tokens in a Laravel app using kyon147/laravel-shopify. It covers config flags, database columns, token migration and refresh behavior.
Install shopify-app-offline-access-tokens
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Kyon147/laravel-shopify /tmp/laravel-shopify && mkdir -p ~/.claude/skills && cp -r /tmp/laravel-shopify/resources/boost/skills/shopify-app-offline-access-tokens ~/.claude/skills/shopify-app-offline-access-tokensRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install shopify-app-offline-access-tokens in Claude Code
git clone --depth 1 https://github.com/Kyon147/laravel-shopify /tmp/laravel-shopify && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/laravel-shopify/resources/boost/skills/shopify-app-offline-access-tokens ~/.gemini/antigravity-cli/skills/shopify-app-offline-access-tokensAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install shopify-app-offline-access-tokens in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for enabling and operating Shopify expiring offline access tokens in a Laravel app that uses the kyon147/laravel-shopify package. It covers published config flags such as SHOPIFY_EXPIRING_OFFLINE_TOKENS, the database columns needed for refresh metadata, and model casts. It also describes how legacy shops move to expiring tokens and how refresh runs.
Legacy shops can be migrated passively on the first API call, through a per-shop action, a queued job, or an Artisan command. A proactive renewal command and job help dormant shops whose refresh tokens are close to expiry. The guide is aimed at developers who run Laravel Shopify apps and handle refresh failures in their own exception reporting.
Written from the project's SKILL.md and checked against it.
What it can do
- Expiring token configConfig flags turn on expiring offline tokens and set the refresh skew in seconds.
- Legacy shop migrationPassive auto-migration, a per-shop action, queued jobs and an Artisan command move shops to expiring tokens.
- Dormant shop renewalA renewal command and job refresh shops whose refresh tokens expire soon.
- Refresh before API callsAn optional check rebuilds the cached API client when the token is near expiry.
- Database columnsMigrations add refresh token and expiry columns to the shop table.
- Refresh failure handlingRefresh failures throw OAuthTokenRefreshException, which the app can log or report.
What you need
- A Laravel app
- The kyon147/laravel-shopify package with a published shopify-app.php config
- Package migrations run against the shop table
Try asking
- Walk me through enabling expiring offline access tokens in my Laravel app.
- Show me how to migrate legacy Shopify shops to expiring tokens.
- Set up a daily schedule for refreshing expiring offline tokens.
Good to know
- Enabling the flag does not upgrade shops that only have a legacy non-expiring token.
- The CLI migration revokes the old offline token, which is one-way.
- The API client is memoized, so long-running jobs need refresh enabled or a manual reset.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: resources/boost/skills/shopify-app-offline-access-tokens/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to shopify-app-offline-access-tokens
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
shopify-app-offline-access-tokens: common questions
Does enabling expiring offline tokens upgrade existing shops?
No. Shops with only a legacy non-expiring token need migration, which can happen passively on the first apiHelper() call or through the migration tools.
How long do refresh tokens last?
The source says refresh tokens expire after about 90 days, so dormant shops can lapse if nothing triggers a refresh.
Does the package schedule token refresh automatically?
No. The package does not register a schedule, so the app must add one, such as a daily run of the refresh command.
How do I install shopify-app-offline-access-tokens?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is shopify-app-offline-access-tokens free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is shopify-app-offline-access-tokens safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. 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 shopify-app-offline-access-tokens?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
