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 thapaliyabikendra/ai-artifacts --skill linq-optimization-patternsgit clone --depth 1 https://github.com/thapaliyabikendra/ai-artifactsWrote 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/thapaliyabikendra/ai-artifacts/linq-optimization-patterns)<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/linq-optimization-patterns"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/linq-optimization-patterns/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/thapaliyabikendra/ai-artifacts/linq-optimization-patterns"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/linq-optimization-patterns.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.00031 | $0.01153 |
| Opus 5 | $0.00015 | $0.00576 |
| Sonnet 5 | $0.00006 | $0.00231 |
| Haiku 4.5 | $0.00003 | $0.00115 |
Grade A, and why
linq-optimization-patterns 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.
How it starts
The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LINQ Optimization Patterns
Optimize LINQ queries and prevent performance anti-patterns in EF Core/ABP applications.
Summary
This skill covers efficient data access patterns for Entity Framework Core in ABP Framework applications. Focus areas: N+1 prevention, pagination, projections, and batch loading.
When to use: Reviewing queries, fixing slow endpoints, implementing list APIs.
Concepts
| Concept | Description | Details |
|---|---|---|
| Eager Loading | Load related entities in single query via JOIN | [patterns/eager-loading.md] |
| Projection | Transform to DTO at database level | [patterns/projection.md] |
| Batch Loading | Load related data for multiple parents in one query | [patterns/batch-loading.md] |
| Pagination | Efficient paging with count optimization | [patterns/pagination.md] |
Anti-Patterns
| Anti-Pattern | Severity | Detect | Impact | Details |
|---|---|---|---|---|
| N+1 Query | 🔴 HIGH | foreach.*await.*Repo |
N+1 DB calls | [anti-patterns/n-plus-one.md] |
| Count After Pagination | 🔴 HIGH | Count.*after.*ToList |
Double query | [anti-patterns/count-after-pagination.md] |
| Full Table Load | 🔴 HIGH | GetListAsync() then filter |
Memory explosion | [anti-patterns/full-table-load.md] |
| In-Memory Join | 🔴 HIGH | Multiple ToListAsync |
Cartesian in memory | [anti-patterns/in-memory-join.md] |
Decision Tree
Need related data for display?
├─ Single entity ──────────► Include() → [patterns/eager-loading.md]
├─ List of entities ───────► Batch load → [patterns/batch-loading.md]
└─ Only specific fields ───► Projection → [patterns/projection.md]
Need paginated list with count?
└─ Always count FIRST ─────► CountAsync() → [patterns/pagination.md]
Loading data then filtering?
├─ Filter in query ────────► WhereIf() → ✅ Correct
└─ Filter after ToList ────► ❌ Anti-pattern → [anti-patterns/full-table-load.md]
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- anti-patterns/count-after-pagination.md 5.6 KB
- anti-patterns/full-table-load.md 5.8 KB
- anti-patterns/in-memory-join.md 8.0 KB
- anti-patterns/n-plus-one.md 6.4 KB
- patterns/batch-loading.md 5.2 KB
- patterns/eager-loading.md 3.5 KB
- patterns/pagination.md 5.0 KB
- patterns/projection.md 4.6 KB
- SKILL-QMD.md 5.8 KB
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.
- 8d ago First seen · 130 lines · 31 tokens per session scan A 825a32431c42
linq-optimization-patterns is a skill published in the GitHub repository thapaliyabikendra/ai-artifacts (24 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 1,153 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
event-store-design
Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.
convex-explain-app
Explain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the schema and function surface. Read-only.
platform-custom-field-generate
Use this skill when users need to create, generate, or validate Salesforce Custom Field metadata. Trigger when users mention custom fields, field types, Roll-up Summary fields, Master-Detail relationships, Lookup relationships, formula fields, picklists, dependent (controlling) picklists, referencing a value set from…
durable-objects
Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.
field-service-sobject-create-configure
Headless 360 REST API deployment step for creating sObject records. Handles describe-based field discovery, required-field derivation, entity-relationship ordering, and composite graph transactions. Use this skill when a designer skill (or a user directly) needs to create sObject records after design confirmation…
nornicdb-grpc
Drive NornicDB over gRPC — the Qdrant-compatible surface (Collections, Points, Snapshots) plus the additive NornicSearch service. Use when ingesting via Qdrant SDKs, migrating from Qdrant, or running hybrid text+vector search from a non-Bolt client. Covers connection, RPC catalog, collection→database mapping…