Look up Spain's professional-diesel excise-tax refund (Devolución gasóleo profesional, procedure DL03) on AEAT's Sede Electrónica: refund rate, eligibility, annual caps, authorised card issuers, and the auth-walled personal-refund query.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versioncheck-diesel-subsidiesExecute the skills CLI command in your project's root directory to begin installation:
Fetches check-diesel-subsidies from sede.agenciatributaria.gob.es/check-diesel-subsidies-qu3qga and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate check-diesel-subsidies. Access via /check-diesel-subsidies in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
0
upvotes
Run in your terminal
0
installs
0
this week
—
stars
| name | check-diesel-subsidies |
| title | AEAT Diesel Subsidy Lookup (Devoluciones Gasóleo Profesional) |
| description | >- Look up Spain's professional-diesel excise-tax refund (Devolución gasóleo profesional, procedure DL03) on AEAT's Sede Electrónica: refund rate, eligibility, annual caps, authorised card issuers, and the auth-walled personal-refund query. |
| website | sede.agenciatributaria.gob.es |
| category | government |
| tags | - spain - tax - aeat - diesel - subsidy - clave - read-only |
| source | 'browserbase: agent-runtime 2026-05-20' |
| updated | '2026-05-20' |
| recommended_method | browser |
| alternative_methods | - method: url-param rationale: >- Public information pages (informacion-general.html, importe-devolucion.html, quienes-tienen-derecho-devolucion.html, SvEntQueryW) are static HTML reachable by deterministic URL — fetch directly with browse open. No anti-bot, no JS rendering required. - method: api rationale: >- Confirmed unavailable. The personal refund endpoint /wlpl/ADG0-JDIT/SvResQueryW is hard-walled behind Cl@ve / certificado electrónico / DNIe; direct GET returns 'Página no habilitada en internet público' (error id 273359764). No public REST/JSON API exists for the diesel-refund program. |
| verified | true |
| proxies | true |
Look up the Spanish Tax Agency's Devolución parcial del Impuesto sobre Hidrocarburos por el gasóleo de uso profesional — the partial refund of the Hydrocarbons Excise Tax for professional diesel use, colloquially called the "diesel subsidy" / "subvención del gasóleo profesional". The skill returns one of two outcome shapes:
Read-only — never files a new application, never submits supply declarations.
Scope assumption: The user prompt "check diesel subsidies" is ambiguous between (a) "tell me about the Spanish diesel-refund program" and (b) "show me my personal refund balance". The skill handles (a) end-to-end; for (b) it leads the user to the authenticated Cl@ve flow but cannot complete it without their credentials. This is documented as an outcome branch in Expected Output.
BenMantW), submitting supply declarations (Modelo "gasóleo profesional"), or filing the annual kilometre report — those are write operations and out of scope.This task has no API and no URL-param shortcut. The AEAT Sede Electrónica is a classic Spanish-government e-office: every personalised query is gated by a Spanish national e-ID (Cl@ve Móvil / Cl@ve PIN / Certificado electrónico / DNIe). Public information pages are static HTML and can be read with a plain browse open — no stealth, no proxies required (the site is bot-friendly). The endpoint https://www2.agenciatributaria.gob.es/wlpl/ADG0-JDIT/SvResQueryW (the personal refund query) is explicitly disabled for unauthenticated public-internet access — direct GET returns "Página no habilitada en internet público ADG0-JDIT/SvResQueryW. Desactivada temporalmente". The only legitimate entry is through SelectorAccesos.html?ref=...&aut=CP, which then performs the Cl@ve / certificate hand-off.
| Question style | Outcome shape | Auth needed? |
|---|---|---|
| "What is the refund rate / who's eligible / how much per litre?" | program_info | No |
| "Show me the list of authorised card issuers" | card_issuers | No |
| "How much have I been refunded? / What's my balance?" | personal_refunds | Yes — Cl@ve / cert / DNIe |
program_info — fetch the static pagesOpen these in order; harvest the indicated fields verbatim from the page text:
GET https://sede.agenciatributaria.gob.es/Sede/impuestos-especiales-medioambientales/devoluciones-gasoleo-profesional.html
→ top-level overview, list of "Gestiones destacadas"
GET .../devoluciones-gasoleo-profesional/informacion-general.html
→ § Información — regulatory basis (Ley 38/1992 art. 52 bis; Orden HFP/941/2022)
GET .../informacion-general/quienes-tienen-derecho-devolucion.html
→ § Eligibility — three vehicle classes (see Expected Output)
GET .../informacion-general/importe-devolucion.html
→ § Refund amount — €49 / 1000 L (since 2019-01-01),
cap 50,000 L/vehicle/year (5,000 L/taxi/year)
GET .../devoluciones-gasoleo-profesional/preguntas-frecuentes.html
→ FAQ (general questions)
GET .../devoluciones-gasoleo-profesional/frecuently-asked-questions.html
→ English FAQ for non-Spain-resident beneficiaries
For non-resident EU beneficiaries also fetch .../solicitud-devolucion-residentes-otros-estados-ue.html.
Localisation: Replace the /Sede/ path prefix with /Sede/ca_es/, /Sede/gl_es/, /Sede/va_es/, /Sede/eu_es/, or /Sede/en_gb/ to get Catalan / Galician / Valencian / Basque / English versions. The English versions are abridged — Spanish is authoritative.
card_issuers — fetch the public registryGET https://www2.agenciatributaria.gob.es/wlpl/ADG0-JDIT/SvEntQueryW
This is a public, unauthenticated endpoint despite living under wlpl/ADG0-JDIT/ (which is the same path family as the auth-walled SvResQueryW, SvBenQueryW, SvLicFomentoQueryW — but SvEntQueryW is whitelisted for public access). Returns an HTML table with columns:
Código — internal AEAT issuer code (e.g. E0001).Denominación de la Entidad Emisora — legal name of the issuing company.Denominación Comercial de la Tarjeta — commercial card name (e.g. "Solred", "Cepsa Star Direct", "Galp Frota").Sort options: by code, by entity name, by card name (query-string controlled). Parse the table rows with browse get markdown body then extract the markdown table — no AJAX, no JS rendering required.
personal_refunds — surface the auth wall, do not attempt to bypassThis is the genuine "check my diesel subsidy" path. The agent cannot complete this without the user's Cl@ve credentials or an installed digital certificate — both are non-portable and tied to a Spanish citizen / company NIF.
Return the deep-link URL and instruct the user to complete the auth in their own browser:
https://sede.agenciatributaria.gob.es/static_files/common/html/selector_acceso/SelectorAccesos.html?ref=%2Fwlpl%2FADG0-JDIT%2FSvResQueryW&aut=CP
The SelectorAccesos.html page presents two auth options:
/Sede/clave.html).Procedure code is DL03 (II.EE. Devolución de gasóleo profesional). The procedure record at /Sede/procedimientos/DL03.shtml lists three accepted ID systems: DNI electrónico, Certificado electrónico, Clave PIN, all "Nivel 4: Tramitación electrónica" (highest assurance).
Sister authenticated endpoints under the same procedure family (same auth wall):
SelectorAccesos.html?ref=%2Fwlpl%2FADG0-JDIT%2FSvBenQueryW&aut=CP — vehicle & beneficiary lookup (which vehicles am I registered for?).SelectorAccesos.html?ref=%2Fwlpl%2FADG0-JDIT%2FSvLicFomentoQueryW&aut=CP — transport-licence registry lookup.If the static-fetch path fails (e.g. AEAT temporary outage — see "Horario de interrupciones de sede"), drive the browser:
sid=$(browse cloud sessions create --keep-alive | node -e "...")
export BROWSE_SESSION="$sid"
browse open "https://sede.agenciatributaria.gob.es/Sede/impuestos-especiales-medioambientales/devoluciones-gasoleo-profesional.html" --remote
browse get markdown body --remote
# Walk the three index pages via the "Siguiente" / "Anterior" links in the
# in-page paginator (URLs are deterministic — see step 2 list).
No stealth / residential proxy needed — the site does not anti-bot on public pages. A bare session is sufficient.
https://www2.agenciatributaria.gob.es/wlpl/ADG0-JDIT/SvResQueryW directly (no SelectorAccesos referer) returns HTML with <title>Gestión de errores</title> and the message "Página no habilitada en internet público ADG0-JDIT/SvResQueryW. Desactivada temporalmente", plus error id 273359764. This is not a real outage — it's the standard "no auth context, no allow-list" response. Don't waste time retrying. The only entry is SelectorAccesos.html?ref=...&aut=CP.SvResQueryW / SvBenQueryW / SvLicFomentoQueryW require auth, but SvEntQueryW (entidades emisoras) is publicly readable. Don't assume the whole /wlpl/ADG0-JDIT/ namespace is walled — test each endpoint with a bare GET.aut=CP is the auth-mode hint: in SelectorAccesos.html?ref=...&aut=CP, CP means Certificado + Cl@ve Permanente / PIN. The exact set of presented identity options depends on this flag. Don't strip it.%2F inside ref=: the SelectorAccesos.html?ref=%2Fwlpl%2F... URL keeps the inner path percent-encoded. Decoding to literal slashes breaks the gateway. Pass the URL through unchanged.https://www.boe.es/buscar/act.php?id=BOE-A-1992-28741#a52bis..../devoluciones-gasoleo-agricola.html. Don't confuse them when the user says "diesel subsidy"./Sede/procedimientos/ and /Sede/procedimientoini/. Reference DL03 in any user-facing answer about refunds./Sede/clave.html or in-person at an AEAT office. Surface this if the user says "I don't have Cl@ve".browse cloud search "sede agencia tributaria gasoleo profesional consulta devolucion" is the fastest way to enumerate sub-pages.https://www2.agenciatributaria.gob.es/wlpl/TOCP-ADMI/Asistente?tipoEntrada=S&procedimiento=G281) lets a beneficiary request a phone call from AEAT to help with the refund process — surface this URL if the user is stuck on form completion./Sede/... path mirrors at /Sede/ca_es/..., /Sede/gl_es/..., /Sede/va_es/..., /Sede/eu_es/..., /Sede/en_gb/.... The English version of the FAQ is at .../frecuently-asked-questions.html (note the AEAT-original typo "Frecuently") and is explicitly aimed at non-Spain-resident EU beneficiaries.The skill emits one of three JSON shapes depending on the user's intent.
{
"outcome": "program_info",
"program": {
"name_es": "Devolución parcial del Impuesto sobre Hidrocarburos por el gasóleo de uso profesional",
"name_en": "Partial refund of the Hydrocarbons Excise Tax on professional-use diesel",
"colloquial": "subvención del gasóleo profesional / diesel subsidy",
"procedure_code": "DL03",
"agency": "Agencia Estatal de Administración Tributaria (AEAT)",
"legal_basis": [
"Ley 38/1992, de 28 de diciembre, de Impuestos Especiales — art. 52 bis",
"Orden HFP/941/2022, de 3 de octubre"
]
},
"refund_rate": {
"amount_eur_per_1000_l": 49,
"effective_since": "2019-01-01",
"rate_source": "Ley 38/1992 art. 52 bis.6"
},
"caps": {
"general_vehicle_max_litres_per_year": 50000,
"taxi_max_litres_per_year": 5000,
"max_refund_eur_per_vehicle_per_year": 2450.0,
"max_refund_eur_per_taxi_per_year": 245.0
},
"eligible_vehicle_classes": [
"Trucks ≥7.5 t MMA for road haulage (own-account or for-hire)",
"M2 / M3 passenger transport (Directive 70/156/EEC categories)",
"Licensed municipal taxis with taximeter"
],
"resolution_window_months": 6,
"auth_required_for_personal_query": true,
"source_urls": {
"landing": "https://sede.agenciatributaria.gob.es/Sede/impuestos-especiales-medioambientales/devoluciones-gasoleo-profesional.html",
"procedure": "https://sede.agenciatributaria.gob.es/Sede/procedimientos/DL03.shtml",
"info_general": "https://sede.agenciatributaria.gob.es/Sede/impuestos-especiales-medioambientales/devoluciones-gasoleo-profesional/informacion-general.html",
"eligibility": "https://sede.agenciatributaria.gob.es/Sede/impuestos-especiales-medioambientales/devoluciones-gasoleo-profesional/informacion-general/quienes-tienen-derecho-devolucion.html",
"refund_amount": "https://sede.agenciatributaria.gob.es/Sede/impuestos-especiales-medioambientales/devoluciones-gasoleo-profesional/informacion-general/importe-devolucion.html",
"boe_law": "https://www.boe.es/buscar/act.php?id=BOE-A-1992-28741#a52bis",
"boe_order": "https://www.boe.es/buscar/doc.php?id=BOE-A-2022-16192"
}
}
{
"outcome": "card_issuers",
"source_url": "https://www2.agenciatributaria.gob.es/wlpl/ADG0-JDIT/SvEntQueryW",
"issuers": [
{
"code": "E0001",
"entity_name": "<legal name of the issuing company>",
"card_commercial_name": "<commercial card brand>"
}
],
"issuer_count": 47,
"harvested_at": "2026-05-20T13:30:11Z"
}
(Issuer codes / names are emitted verbatim from the SvEntQueryW table; example placeholders only.)
{
"outcome": "personal_refunds_auth_required",
"auth_wall": true,
"deep_link": "https://sede.agenciatributaria.gob.es/static_files/common/html/selector_acceso/SelectorAccesos.html?ref=%2Fwlpl%2FADG0-JDIT%2FSvResQueryW&aut=CP",
"endpoint_codename": "SvResQueryW",
"procedure_code": "DL03",
"accepted_auth_methods": [
"Cl@ve Móvil (APP Cl@ve push or PIN-by-SMS)",
"Certificado electrónico (browser-installed)",
"DNI electrónico (Spanish e-ID card + reader)",
"Cl@ve PIN"
],
"prerequisite": "User must already be registered in Cl@ve OR have a valid AEAT-recognised digital certificate. Cl@ve registration is bootstrapped at https://sede.agenciatributaria.gob.es/Sede/clave.html and is not completable inside this skill.",
"what_the_authed_query_returns": [
"Accumulated litres of gasóleo profesional declared per registered vehicle",
"Refund amount processed (€) per period",
"Payment status (pending / paid)",
"Per-vehicle, per-supply breakdown of declared volumes"
],
"user_instruction": "Abra el enlace deep_link en su propio navegador y autentíquese con Cl@ve, certificado o DNIe. El agente no puede completar este paso por usted."
}
{
"outcome": "direct_endpoint_disabled",
"endpoint": "https://www2.agenciatributaria.gob.es/wlpl/ADG0-JDIT/SvResQueryW",
"aeat_error_message_es": "Página no habilitada en internet público ADG0-JDIT/SvResQueryW. Desactivada temporalmente.",
"aeat_error_id": "273359764",
"interpretation": "Not an outage. This is the standard response when SvResQueryW is hit without going through SelectorAccesos.html. Use the deep_link from outcome 'personal_refunds_auth_required' instead.",
"remediation_url": "https://sede.agenciatributaria.gob.es/static_files/common/html/selector_acceso/SelectorAccesos.html?ref=%2Fwlpl%2FADG0-JDIT%2FSvResQueryW&aut=CP"
}
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
cis.scc.virginia.gov/business-search-pg5zpn
bizfileonline.sos.ca.gov/find-california-business-izbvm2
booking.com/search-hotels-asq6cc
nav.com/get-smb-funding-2s1rpm
aliexpress.com/search-product-p0h8a7
google.com/search-flights-ts4g1f
I recommend check-diesel-subsidies for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in check-diesel-subsidies — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
check-diesel-subsidies reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: check-diesel-subsidies is the kind of skill you can hand to a new teammate without a long onboarding doc.
check-diesel-subsidies has been reliable in day-to-day use. Documentation quality is above average for community skills.
check-diesel-subsidies has been reliable in day-to-day use. Documentation quality is above average for community skills.
check-diesel-subsidies is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Solid pick for teams standardizing on skills: check-diesel-subsidies is focused, and the summary matches what you get after install.
Solid pick for teams standardizing on skills: check-diesel-subsidies is focused, and the summary matches what you get after install.
Registry listing for check-diesel-subsidies matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 35