flutter_getx_template: Skill for Claude Code

.agent/skills/api-request/SKILL.md

api-request is a skill for Claude Code, Codex from EmadBeltaje/flutter_getx_template. It costs 63 tokens per session (1,344 once invoked), scanned A, original, MIT.

An API-request workflow for adding a safe HTTP call to a controller. HTTP is the standard way software requests or sends data to a web service.

In plain words
What is it for?
Use it to add requests such as fetching or posting data, with a URL, HTTP method, return model, and optional raw JSON handling.
Why use it?
It provides the usual request states—loading, success, and error—so the controller does not need to set them up manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is EmadBeltaje/flutter_getx_template's own configuration. It tells Claude Code and Codex how to work on flutter_getx_template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flutter_getx_template configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import '../../../../utils/constants.dart';.

Reuse

Borrowing it

Nothing to install: this file belongs to EmadBeltaje/flutter_getx_template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/EmadBeltaje/flutter_getx_template/master/.agent/skills/api-request/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/EmadBeltaje/flutter_getx_template

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 api-request

README.md
[![agentmods](https://agentmods.dev/badge/skills/emadbeltaje/flutter_getx_template/api-request/github.svg)](https://agentmods.dev/skills/emadbeltaje/flutter_getx_template/api-request)
Your own site
<a href="https://agentmods.dev/skills/emadbeltaje/flutter_getx_template/api-request"><img src="https://agentmods.dev/badge/skills/emadbeltaje/flutter_getx_template/api-request/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.

agentmods 80×15 button for api-request

Your own site · 80×15
<a href="https://agentmods.dev/skills/emadbeltaje/flutter_getx_template/api-request"><img src="https://agentmods.dev/badge/skills/emadbeltaje/flutter_getx_template/api-request.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,344 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.00063 $0.01344
Opus 5.5 $0.00025 $0.00538
Sonnet 5.5 $0.00013 $0.00269
Haiku 4.5 $0.00006 $0.00134

Measured 2mo ago against content hash 9ae6960efab3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-request 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 2mo 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.

.agent/skills/api-request/SKILL.md · 182 lines

How it starts

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

API request

Collect anything missing, then add the call on the named controller. Models are raw fromJson / toJson classes. Do not add Hive (@HiveType, part '*.g.dart') unless the user asks for a Hive model. UserModel is Hive on purpose; new models are not.

Ask for

Field Examples
Function name getTodos, login
HTTP method get, post, put, delete (RequestType)
URL full URL or path to hang off Constants.baseUrl
Return type an existing model, or JSON plus a new model name
Controller / screen e.g. home → HomeController

If any of these are missing, ask. List existing model files under lib/app/data/models/ (ignore *.g.dart) so the user can pick one.

URL

Add or reuse a constant:

class Constants {
  static const baseUrl = 'https://jsonplaceholder.typicode.com';
  static const todosApiUrl = baseUrl + '/todos';
}

If the URL shares baseUrl, add static const {name}ApiUrl = baseUrl + '/{path}';. Otherwise add a full static const {name}ApiUrl = 'https://...';.

New raw model

When the user pastes JSON and a name (Todo), write lib/app/data/models/{snake}_model.dart. Example JSON:

{
  "userId": 1,
  "id": 1,
  "title": "delectus aut autem",
  "completed": false
}
class TodoModel {
  final int userId;
  final int id;
  final String title;
  final bool completed;

  TodoModel({
    required this.userId,
    required this.id,
    required this.title,
    required this.completed,
  });

  factory TodoModel.fromJson(Map<String, dynamic> json) {
    return TodoModel(
      userId: json['userId'] as int,
      id: json['id'] as int,
      title: json['title'] as String,
      completed: json['completed'] as bool,
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'userId': userId,
      'id': id,
      'title': title,
      'completed': completed,
    };
  }
}

Nested objects get their own classes with fromJson. Lists use List<X>.from((json['items'] as List).map((e) => X.fromJson(e))).

Read the full file on GitHub · 182 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. 2mo ago First seen · 182 lines · 63 tokens per session scan A 9ae6960efab3

Subscribe to this mod's changes

api-request is a skill published in the GitHub repository EmadBeltaje/flutter_getx_template (519 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,344 once invoked, about $0.0003 per session on Opus 5.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-05.

Related

api-request compared with skills from other repositories

api-request next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-requestEmadBeltaje/flutter_getx_templateSkill5191mo agoMITA63Claude Code, Codex
networkingsonature-lab/timsquadSkill122mo agoMITA47Claude Code
reviewing-blogsappwrite/appwriteSkill58kyesterdayBSD-3-ClauseA55Cursor
api-rate-limit-handlersickn33/agentic-awesome-skillsSkill49kyesterdayMITA32Claude Code
api-integration-architectsickn33/agentic-awesome-skillsSkill49kyesterdayMITA33Claude Code
dmrwemake-services/django-modern-restSkill1.5ktodayMITA80Claude Code, Codex
horse-ssl-tlsHashLoad/horseSkill1.4k8d agoMITA24Claude Code, Codex