Fortify Development
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
Develops OAuth2 API authentication with Laravel Passport. An agent skill from trypostit/trypost.
$ npx skills add trypostit/trypost --skill passport-development -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trypostit/trypost passport-development --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trypostit/trypost.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/passport-development .claude/skills/passport-development && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "passport-development" agent skill from https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-development into .claude/skills/passport-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "passport-development", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-developmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trypostit/trypost --skill passport-development -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trypostit/trypost passport-development --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trypostit/trypost.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/passport-development .agents/skills/passport-development && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "passport-development" agent skill from https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-development into .agents/skills/passport-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "passport-development", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trypostit/trypost --skill passport-development -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trypostit/trypost passport-development --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trypostit/trypost.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/passport-development .cursor/skills/passport-development && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "passport-development" agent skill from https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-development into .cursor/skills/passport-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "passport-development", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trypostit/trypost.git --path .agents/skills/passport-development--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trypostit/trypost --skill passport-development -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trypostit/trypost passport-development --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trypostit/trypost.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/passport-development .gemini/skills/passport-development && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "passport-development" agent skill from https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-development into .gemini/skills/passport-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "passport-development", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trypostit/trypost passport-developmentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trypostit/trypost --skill passport-development -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trypostit/trypost.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/passport-development .github/skills/passport-development && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "passport-development" agent skill from https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-development into .github/skills/passport-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "passport-development", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trypostit/trypost --skill passport-development -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trypostit/trypost passport-development --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trypostit/trypost.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/passport-development .opencode/skills/passport-development && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "passport-development" agent skill from https://github.com/trypostit/trypost/tree/main/.agents/skills/passport-development into .opencode/skills/passport-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "passport-development", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
passport-developmentDevelops OAuth2 API authentication with Laravel Passport. An agent skill from trypostit/trypost.
Passport Development is an agent skill from trypostit/trypost. Develops OAuth2 API authentication with Laravel Passport. Activates when installing or configuring Passport; setting up OAuth2 grants (authorization code, client credentials, personal access tokens, device authorization); managing OAuth clients; protecting API routes with token authentication; defining or checking token scopes; configuring SPA cookie authentication; handling token lifetimes and refresh tokens; or when the user mentions Passport, OAuth2, API tokens, bearer tokens, or API authentication. Make sure…
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering OAuth and OpenID Connect, Backend development and Authentication. It works with Laravel, PHP, Vue.js and LinkedIn. The repository describes itself as: Open-source Social Media Scheduling. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f9fc951. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
phpFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Passport Development loads about 1.9k tokens when it runs. Until then it costs about 170 tokens; SKILL.md has 601 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trypostit/trypost at commit f9fc951, republished under its MIT licence (© trypostit). 601 words, ~1,860 tokens.
.claude/skills/passport-development/SKILL.md (or your agent's skills folder).Always use search-docs before writing Passport code. The documentation covers every grant type, configuration option, and edge case in detail. This skill teaches you how to navigate Passport — the docs have the implementation specifics.
search-docs(queries: ["Passport installation"], packages: ["laravel/framework@12.x"])The Passport docs live under the laravel/framework package — not laravel/passport.
Activate this skill when:
Passport is a full OAuth2 server — use it when third-party applications need to consume your API and when you need OAuth2 authorization code grants, client credentials for machine-to-machine auth, or device authorization flow.
Sanctum is simpler — use it when first-party SPAs, third parties, or mobile apps consume the API but you don't need the full OAuth2 grant flows.
Three steps are always required:
php artisan install:api --passportThis publishes migrations, generates encryption keys, and registers routes.
The User model needs both the HasApiTokens trait AND the OAuthenticatable interface. Missing the interface is the most common Passport setup mistake — it causes runtime errors that can be confusing to debug.
use Laravel\Passport\Contracts\OAuthenticatable;
use Laravel\Passport\HasApiTokens;
class User extends Authenticatable implements OAuthenticatable
{
use HasApiTokens;
}The api guard must use the passport driver in config/auth.php. Using token or sanctum here silently breaks Passport authentication.
'guards' => [
'api' => [
'driver' => 'passport',
'provider' => 'users',
],
],Matching the right grant to the use case is the most important Passport decision. Use search-docs for implementation details of any grant.
| Use Case | Grant Type | Client Flag |
|---|---|---|
| Third-party app accessing user data | Authorization Code | (default) |
| Mobile/SPA without client secret | Authorization Code + PKCE | --public |
| Machine-to-machine, no user context | Client Credentials | --client |
| User-generated API keys | Personal Access Tokens | --personal |
| Smart TV, CLI, IoT devices | Device Authorization | --device |
Legacy grants (Password, Implicit) are disabled by default and not recommended. They must be explicitly enabled with Passport::enablePasswordGrant() or Passport::enableImplicitGrant().
Create clients with the appropriate flag for the grant type:
php artisan passport:client # Authorization code
php artisan passport:client --public # PKCE (no secret)
php artisan passport:client --client # Client credentials
php artisan passport:client --personal # Personal access tokens
php artisan passport:client --device # Device authorization
Additional flags: --name=, --redirect_uri=, --provider=.
Client secrets are hashed by default — the plain-text secret is only shown at creation time and cannot be retrieved later.
Apply auth:api middleware. Clients send tokens via the Authorization: Bearer <token> header.
Route::get('/user', function (Request $request) {
return $request->user();
})->middleware('auth:api');Scope middleware must come alongside auth:api:
CheckToken::using('scope1', 'scope2') — requires ALL listed scopesCheckTokenForAnyScope::using('scope1', 'scope2') — requires ANY listed scopeEnsureClientIsResourceOwner::using('scope1') — restricts to client credential tokensuse Laravel\Passport\Http\Middleware\CheckToken;
Route::get('/orders', function () {
// ...
})->middleware(['auth:api', CheckToken::using('orders:read')]);if ($request->user()->tokenCan('place-orders')) {
// ...
}Use search-docs for full scope middleware registration and usage patterns.
Configure in AppServiceProvider::boot(). Use search-docs for the full list of options.
// Token lifetimes (each is independent)
Passport::tokensExpireIn(now()->addDays(15));
Passport::refreshTokensExpireIn(now()->addDays(30));
Passport::personalAccessTokensExpireIn(now()->addMonths(6));
// Define scopes
Passport::tokensCan([
'place-orders' => 'Place orders',
'check-status' => 'Check order status',
]);For first-party SPAs, the CreateFreshApiToken middleware issues a laravel_token cookie containing an encrypted JWT. The SPA must include CSRF tokens — missing the X-CSRF-TOKEN or X-XSRF-TOKEN header causes 419 errors.
Use search-docs for setup details — this feature has specific CSRF and cookie configuration requirements.
Passport provides helpers to bypass full OAuth flows in tests:
Passport::actingAs($user, ['scope1', 'scope2']);
Passport::actingAsClient($client, ['scope1']);php artisan passport:purge # Purge revoked & expired
php artisan passport:purge --revoked # Only revoked
php artisan passport:purge --expired # Only expired
Schedule passport:purge for regular expired token clean-up.
All in Laravel\Passport\Events: AccessTokenCreated, AccessTokenRevoked, RefreshTokenCreated.
OAuthenticatable interface — both the HasApiTokens trait and the OAuthenticatable interface are required on the User model. Missing the interface causes runtime errors.api guard must use passport, not token or sanctum. This fails silently.CreateFreshApiToken requires CSRF tokens. Use Passport::ignoreCsrfToken() only if you understand the security implications.© trypostit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/passport-development of trypostit/trypost.
Open the folder on GitHubat commit f9fc951
Passport Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Passport Development this skilltrypostit/trypost | 676 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Fortify Developmentcoollabsio/coolify | 63k | 4 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Socialite Developmenthexlet-volunteers/hexlet-sicp | 114 | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Spa Auth Developmentgdarko/laravel-vue-starter | 145 | — | ~668 | Automated safety check: Notes | MIT | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Livewire Developmentcoollabsio/coolify | 63k | — | ~964 | Automated safety check: Pass | MIT |
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
hexlet-volunteers/hexlet-sicp
Manages OAuth social authentication with Laravel Socialite. An agent skill from hexlet-volunteers/hexlet-sicp.
gdarko/laravel-vue-starter
Activate when working on SPA authentication flow, Sanctum cookie-based auth, Vue Router guards, auth store, login/register/password reset pages, or CORS/session configuration.
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
coollabsio/coolify
A skill your agent uses for any task or question involving Livewire.
yungifez/skuul
A skill your agent uses for any task or question involving Livewire.
trypostit/trypost
TRIGGER when working with ai-sdk which is Laravel official first-party AI SDK.
trypostit/trypost
Configures Laravel Nightwatch data collection, sampling rates, filtering rules, and redaction policies.
Categories
Develops OAuth2 API authentication with Laravel Passport. An agent skill from trypostit/trypost. Passport Development is an agent skill from trypostit/trypost. Develops OAuth2 API authentication with Laravel Passport.
Passport Development fits situations like: mentions Passport; API authentication; the user works with OAuth2; third-party API access.
Run `npx skills add trypostit/trypost --skill passport-development -a claude-code`. Or copy the skill folder (.agents/skills/passport-development in trypostit/trypost) into .claude/skills/passport-development in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trypostit/trypost --skill passport-development -a codex`. Or copy the skill folder (.agents/skills/passport-development in trypostit/trypost) into .agents/skills/passport-development in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trypostit/trypost --skill passport-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/passport-development, .gemini/skills/passport-development, .github/skills/passport-development and .opencode/skills/passport-development in your project.
Going by SKILL.md and its folder, Passport Development needs the command-line tools its instructions call (php).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Passport Development is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Passport Development: Fortify Development (coollabsio/coolify, 63k stars), Socialite Development (hexlet-volunteers/hexlet-sicp, 114 stars), Spa Auth Development (gdarko/laravel-vue-starter, 145 stars) and Configuring Horizon (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trypostit (a GitHub organization) maintains it in trypostit/trypost, which has 676 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.
Source: trypostit/trypost on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.