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.
npx skills add jeffsenso/prestashop-skills --skill create-grid-definitiongit clone --depth 1 https://github.com/jeffsenso/prestashop-skillsWrote 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.
[](https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-grid-definition)<a href="https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-grid-definition"><img src="https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-grid-definition/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jeffsenso/prestashop-skills/create-grid-definition"><img src="https://agentmods.dev/badge/skills/jeffsenso/prestashop-skills/create-grid-definition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01343 |
| Opus 5 | $0.00030 | $0.00672 |
| Sonnet 5 | $0.00012 | $0.00269 |
| Haiku 4.5 | $0.00006 | $0.00134 |
Grade A, and why
create-grid-definition 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
create-grid-definition
Read @.ai/Component/Grid/CONTEXT.md for the factory trilogy (GridDefinitionFactory → GridDataFactory → GridFactory) and SearchCriteria patterns.
1. Grid Definition Factory
Create src/Core/Grid/Definition/Factory/{Domain}GridDefinitionFactory.php extending AbstractGridDefinitionFactory:
- Define a
public const GRID_ID = '{domain}'constant — this is the single source of truth for the grid identifier, shared with the{Domain}Filtersclass to ensure the filter persistence in DB maps to the correct grid getId(): string— returnself::GRID_IDgetName(): string— translatable grid namegetColumns(): ColumnCollection— all columns (see section 2)getFilters(): FilterCollection— filterable columns (see section 4)getGridActions(): GridActionCollection— grid-level actions (e.g. export)getRowActions(): RowActionCollection— per-row actions (see section 3)getBulkActions(): BulkActionCollection— multi-select actions (see section 3)
Reference: src/Core/Grid/Definition/Factory/TaxGridDefinitionFactory.php (simple), src/Core/Grid/Definition/Factory/ManufacturerGridDefinitionFactory.php (two grids)
2. Column types
| Column type | When to use | Notes |
|---|---|---|
BulkActionColumn |
Row selection checkbox | Always first column |
DataColumn |
Plain text (name, email, date) | Most common |
ToggleColumn |
Clickable boolean toggle (active status) | Requires AJAX toggle route |
ImageColumn |
Image thumbnail (logo) | |
LinkColumn |
Text with hyperlink | |
PositionColumn |
Drag handle for reordering | See create-position-column skill |
ActionColumn |
Row actions dropdown | Always last column |
See Grid/CONTEXT.md for column ordering and naming conventions.
3. Row actions and bulk actions
Row actions
Add in getRowActions():
LinkRowActionfor edit — links toadmin_{domain}s_editroute with{id}parameter- For delete, use the
DeleteActionTrait::buildDeleteAction()helper — it returns aSubmitRowActionpre-wired with the standard delete confirmation modal (translatable title, confirm/cancel buttons, danger styling). Prefer it over building the action manually:use PrestaShop\PrestaShop\Core\Grid\Definition\Factory\DeleteActionTrait; class {Domain}GridDefinitionFactory extends AbstractGridDefinitionFactory { use DeleteActionTrait; protected function getRowActions(): RowActionCollection { return (new RowActionCollection()) ->add(/* edit LinkRowAction */) ->add($this->buildDeleteAction( 'admin_{domain}s_delete', // route '{domain}Id', // route param name '{domain}Id', // row field providing the value )); } } - Order: edit first, delete last
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.
- 10d ago First seen · 134 lines · 61 tokens per session scan A ddf0c18ae36e
create-grid-definition is a skill published in the GitHub repository jeffsenso/prestashop-skills (5 stars, last pushed 15d ago), licensed MIT. It adds 61 tokens to every session and 1,343 once invoked, about $0.0003 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-31.
Other skills, from other repositories
806-regulations-eu-data-act
Use when reviewing, designing, or modifying Java enterprise systems that expose, exchange, store, process, export, or port data across users, businesses, connected products, cloud providers, APIs, event streams, AI data pipelines, data spaces, or SaaS platforms and need EU Data Act engineering controls. This should…
123-java-design-patterns
Use when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven patterns, database and persistence patterns, and cross-cutting integration patterns. This should trigger for requests such as Apply Java design…
125-java-concurrency
Use when you need to apply Java concurrency best practices — including thread safety fundamentals, ExecutorService thread pool management, concurrent design patterns like Producer-Consumer, asynchronous programming with CompletableFuture, immutability and safe publication, deadlock avoidance, virtual threads…
031-architecture-adr-functional-requirements
Facilitates conversational discovery to create Architectural Decision Records (ADRs) for functional requirements covering CLI, REST/HTTP APIs, or both. Use when the user wants to document command-line or HTTP service architecture, capture functional requirements, create ADRs for CLI or API projects, or design…
300-frameworks-spring-boot-create-project
Use when you need to create a new Maven-based Spring Boot 4.0.x project using SDKMAN-managed Java and Spring Boot CLI tooling. This should trigger for requests such as Create a Spring Boot Maven project; Bootstrap Spring Boot project with SDKMAN; Generate a new Spring Boot service; Create Spring Boot 4 Maven project…
301-frameworks-spring-boot-core
Use when you need to review, improve, or build Spring Boot 4.0.x applications — including proper usage of @SpringBootApplication, component annotations (@Controller, @Service, @Repository), bean definition and scoping, configuration classes and @ConfigurationProperties (with @Validated), component scanning…