ci4

ci4 is a skill for Claude Code, Codex from enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code. It costs 88 tokens per session (2,763 once invoked), scanned A, original, MIT.

A reference for CodeIgniter 4, a PHP framework for building web applications using routes, controllers, models, views, and databases.

In plain words
What is it for?
It supports routing, controllers, database queries, models, views, filters, migrations, command-line tasks, and authentication with Shield.
Why use it?
It helps avoid confusing CodeIgniter 4 with other PHP frameworks and gives project work a consistent reference for its documented patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It supports routing, controllers, database queries, models, views, filters, migrations, command-line tasks, and authentication with Shield.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/enlivenapp/codeigniter4-app-and-api-skills-for-claude-code/ci4
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code --skill ci4
Clone the repo
git clone --depth 1 https://github.com/enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ci4

README.md
[![agentmods](https://agentmods.dev/badge/skills/enlivenapp/codeigniter4-app-and-api-skills-for-claude-code/ci4.svg)](https://agentmods.dev/skills/enlivenapp/codeigniter4-app-and-api-skills-for-claude-code/ci4)
Your own site
<a href="https://agentmods.dev/skills/enlivenapp/codeigniter4-app-and-api-skills-for-claude-code/ci4"><img src="https://agentmods.dev/badge/skills/enlivenapp/codeigniter4-app-and-api-skills-for-claude-code/ci4.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.02763
Opus 5 $0.00044 $0.01381
Sonnet 5 $0.00018 $0.00553
Haiku 4.5 $0.00009 $0.00276

Measured 8d ago against content hash ea37ce872736, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ci4 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ci4/SKILL.md · 358 lines

How it starts

The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CodeIgniter 4 — Framework Reference

CodeIgniter 4 is a full-stack PHP 8+ MVC framework. It is not Laravel. Do not apply Laravel APIs, method names, or conventions here. When in doubt, check this skill and its references — not memory of another framework.

Related skills: ci4-api for REST API patterns, ci4-shield for authentication/authorization.

Reference Documents

For deep dives, read the relevant reference from references/:

Reference When to read
references/routing.md Route groups, placeholders, named routes, resource routes
references/controllers.md ResourceController, request data, validation, redirects, flash data
references/models.md CRUD, soft deletes, timestamps, validation, pagination, scopes, callbacks, entities
references/query-builder.md SELECT, WHERE, JOIN, GROUP BY, batch ops, subqueries, transactions, debugging
references/views.md Layouts, sections, partials, escaping, view cells
references/filters.md Creating, registering, applying, global filters, filter arguments
references/database.md Migrations, seeds, forge, field types, adding/dropping columns
references/validation.md All validation rules, custom rules, file upload validation
references/services-helpers.md Services, helpers, caching, email, sessions, encryption
references/spark-cli.md All spark commands, generators, custom commands
references/testing.md PHPUnit, feature tests, database tests, mocking
references/gotchas.md Critical pitfalls, CI4 vs Laravel comparison table

Directory Structure

app/
  Config/         # All configuration classes (Routes, Database, Filters, Auth, etc.)
  Controllers/    # HTTP controllers
  Database/
    Migrations/   # Migration files (timestamped)
    Seeds/        # Seeder classes
  Filters/        # Before/after request filters
  Libraries/      # Custom libraries
  Models/         # Model classes
  Services/       # Custom service classes
  Views/          # View templates (.php)
    layouts/      # Layout templates
    partials/     # Reusable partials
public/           # Web root — index.php entry point lives here
writable/         # Cache, logs, sessions (must be writable)
tests/
vendor/
.env              # Environment config (copy from `env`)
spark             # CLI entry point

Read the full file on GitHub · 358 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 358 lines · 88 tokens per session scan A ea37ce872736

Subscribe to this mod's changes

ci4 is a skill published in the GitHub repository enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code (22 stars, last pushed 4mo ago), licensed MIT. It adds 88 tokens to every session and 2,763 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

laravel-patterns

Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps.

hashgraph-online/awesome-codex-plugins · 32 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens

craftcms

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…

michtio/craftcms-claude-skills · 327 tokens