supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
leychile
Queries Chilean legislation from the Biblioteca del Congreso Nacional using SPARQL and Linked Data. Use when searching for Chilean laws, decrees, regulations, congressional information, or when user mentions specific Chilean legal codes.
Full skill instructions
Use this skill to query Chilean legislation from the Biblioteca del Congreso Nacional (BCN).
This is a free, public API - no authentication required. It provides access to Chilean laws, decrees, regulations, legal norms, and congressional information via Linked Open Data.
Main data access method at https://datos.bcn.cl/sparql.
curl -s 'https://datos.bcn.cl/sparql' \
--data-urlencode "query=YOUR_SPARQL_QUERY" \
-H "Accept: application/json" \
--max-time 30
Access individual resources in JSON or RDF format:
# JSON format
curl -sL "https://datos.bcn.cl/recurso/cl/ley/330/datos.json"
# RDF format
curl -sL "https://datos.bcn.cl/recurso/cl/ley/330/datos.rdf"
URI Pattern: https://datos.bcn.cl/recurso/cl/{type}/{path}/datos.{format}
Types include: ley, dfl, dto, res, etc.
curl -s 'https://datos.bcn.cl/sparql' \
--data-urlencode "query=
PREFIX bcnnorms: <http://datos.bcn.cl/ontologies/bcn-norms#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?norma ?label ?title ?leychileCode
WHERE {
?norma a bcnnorms:Norm .
OPTIONAL { ?norma rdfs:label ?label }
OPTIONAL { ?norma dc:title ?title }
OPTIONAL { ?norma bcnnorms:leychileCode ?leychileCode }
}
LIMIT 10" \
-H "Accept: application/json"
curl -s 'https://datos.bcn.cl/sparql' \
--data-urlencode "query=
PREFIX bcnnorms: <http://datos.bcn.cl/ontologies/bcn-norms#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?norma ?label
WHERE {
?norma a bcnnorms:Norm .
?norma bcnnorms:leychileCode ?code .
FILTER(?code = 172986)
OPTIONAL { ?norma rdfs:label ?label }
}
LIMIT 5" \
-H "Accept: application/json"
curl -s 'https://datos.bcn.cl/sparql' \
--data-urlencode "query=
PREFIX bcn: <http://datos.bcn.cl/ontologies/bcn-resources#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?proyecto ?label
WHERE {
?proyecto a bcn:ProyectoDeLey .
OPTIONAL { ?proyecto rdfs:label ?label }
}
LIMIT 10" \
-H "Accept: application/json"
curl -s 'https://datos.bcn.cl/sparql' \
--data-urlencode "query=
PREFIX congress: <http://datos.bcn.cl/ontologies/bcn-congress#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?sesion ?label
WHERE {
?sesion a congress:SesionParlamentaria .
OPTIONAL { ?sesion rdfs:label ?label }
}
LIMIT 10" \
-H "Accept: application/json"
curl -s 'https://datos.bcn.cl/sparql' \
--data-urlencode "query=SELECT DISTINCT ?type WHERE { ?s a ?type . FILTER(CONTAINS(STR(?type), 'bcn')) } LIMIT 100" \
-H "Accept: application/json"
| Prefix | Namespace | Description |
|---|---|---|
| bcn-norms | http://datos.bcn.cl/ontologies/bcn-norms# | Norms (Norm, leychileCode, publishDate) |
| bcn-resources | http://datos.bcn.cl/ontologies/bcn-resources# | Legislative resources (ProyectoDeLey, Articulo) |
| bcn-congress | http://datos.bcn.cl/ontologies/bcn-congress# | Congressional entities (SesionParlamentaria) |
| bcn-biographies | http://datos.bcn.cl/ontologies/bcn-biographies# | Biographies (Senador, Diputado) |
| dc | http://purl.org/dc/elements/1.1/ | Dublin Core (title, language) |
| rdfs | http://www.w3.org/2000/01/rdf-schema# | RDF Schema (label) |
| Property | Description |
|---|---|
bcnnorms:leychileCode | The idNorma used in LeyChile URLs |
bcnnorms:publishDate | Publication date |
bcnnorms:promulgationDate | Promulgation date |
bcnnorms:hasNumber | Law/decree number |
bcnnorms:createdBy | Issuing ministry/organism |
bcnnorms:hasHtmlDocument | Link to LeyChile HTML page |
| Law | idNorma | URI Path |
|---|---|---|
| Constitucion | 242302 | - |
| Codigo Civil | 172986 | /cl/dfl/ministerio-de-justicia/2000-05-30/1 |
| Codigo Penal | 1984 | - |
| Codigo del Trabajo | 207436 | - |
| Ley de Proteccion de Datos (19.628) | 141599 | - |
For viewing laws in a browser:
https://www.bcn.cl/leychile/navegar?idNorma={ID_NORMA}
Historical version:
https://www.bcn.cl/leychile/navegar?idNorma={ID_NORMA}&idVersion={YYYY-MM-DD}
Note: These pages are JavaScript-rendered. Use SPARQL or Resource URIs for programmatic access.
--max-time 30 with curl for safetyProyectoDeLey and SesionParlamentaria are fastFILTER on text can be slowSTR(?variable) instead of LCASE(?variable) in FILTER to avoid type errors{
"head": { "vars": ["norma", "label"] },
"results": {
"bindings": [
{
"norma": { "type": "uri", "value": "http://datos.bcn.cl/recurso/..." },
"label": { "type": "literal", "value": "Ley 330" }
}
]
}
}
{
"http://datos.bcn.cl/recurso/cl/ley/.../330/es@1896-01-29": {
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [...],
"http://www.w3.org/2000/01/rdf-schema#label": [...],
"http://datos.bcn.cl/ontologies/bcn-norms#leychileCode": [
{ "type": "literal", "value": 22181 }
]
}
}
# NO LONGER WORKS
curl -s "https://www.bcn.cl/leyfacil/recurso/trabajo"
# NO LONGER WORKS
curl -s "https://www.leychile.cl/Consulta/obtxml?opt=7&idNorma=172986"
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.
Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.
Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
Send, read, and manage Gmail messages, drafts, labels, and account settings.
Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.
Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.
Discover your celebrity doppelgänger with StarByFace!
GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams
Detect AI-generated voices to protect against audio fraud.
Ensure Your Content's Originality with AI Plagiarism Checker
Upscale images by 400% without quality loss
Protect your social media from copyright disputes
Accurately Detect AI-Generated Content with TheChecker.AI
Chrome extension that detects and flags AI-generated content