Logo de Functions Falcon Api

Functions Falcon Api

Organização
CrowdStrike
functions-falcon-api

Call CrowdStrike Falcon platform APIs (detections, alerts, hosts, RTR) from within Foundry function handlers. TRIGGER when user asks to "call Falcon APIs from a function", "use FalconPy in a function", "use gofalcon in a function", or needs to integrate Falcon platform APIs within serverless function code. DO NOT TRIGGER when user wants to expose external third-party APIs to Foundry — use api-integrations instead.

Visão geral

Publicado porCrowdStrike
Repositóriofoundry-skills
Nome da habilidadefunctions-falcon-api
Estrelas
37
Forks
7
Arquivos incluídos
2
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 2 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por CrowdStrike no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Functions Falcon Api no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/CrowdStrike/foundry-skills/tree/main/skills/functions-falcon-api
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CrowdStrike/foundry-skills.git /tmp/foundry-skills
mkdir -p .claude/skills
cp -r /tmp/foundry-skills/skills/functions-falcon-api .claude/skills/functions-falcon-api
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Functions Falcon Api em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Functions Falcon Api automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Functions Falcon Api não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Falcon API Integration in Functions

Call Falcon APIs through the CrowdStrike SDKs inside Foundry function handlers. Authentication is automatic with the FDK handler pattern.

The FalconPy Detects class is deprecated: it still ships, but its API returns 405. Do not import it. Use Alerts for detection queries.

Part of a suite. If development-workflow has not already run, and this is a new app or its first capability, load the development-workflow skill first — it owns the CLI prerequisite check, scaffolding order, and manifest coordination.

This skill covers calling CrowdStrike Falcon APIs from within Foundry functions (serverless Go or Python code). Authentication is completely automatic when code runs inside Foundry function handlers — the platform handles all OAuth flows, token management, and credential injection.

For exposing external APIs to Foundry via OpenAPI specs, see api-integrations instead.

🚫 DEPRECATED API — NEVER USE:

Do NOT import or use the Detects class from FalconPy. The Detects API (/detects/entities/detects/v2) is deprecated and returns 405 Method Not Allowed. Any code using Detects(), query_detects(), or get_detect_summaries() will fail at runtime.

Use instead: from falconpy import Alerts with query_alerts_v2() / get_alerts_v2(). Filter by product:'epp' to scope to endpoint detections.

Reference Files

TopicReference
Retry, worker threads, shared-CID listing, Workflows API as the app, enrichmentreferences/advanced-patterns.md

Python: Zero-Argument Authentication

FalconPy Service Classes require zero arguments when called inside Foundry Function handlers. The crowdstrike.foundry.function FDK provides the handler decorator that enables automatic authentication:

python
from logging import Logger
from typing import Any, Dict, Union
from crowdstrike.foundry.function import Function, Request, Response
from falconpy import Alerts, Hosts

func = Function.instance()

@func.handler(method='GET', path='/api/alerts')
def get_alerts(request: Request, config: Union[Dict[str, Any], None], logger: Logger) -> Response:
    falcon = Alerts()  # Zero-arg constructor — auth is automatic

    limit = min(int(request.params.query.get("limit", ["50"])[0]), 100)
    # FQL filter: high-severity alerts from the last 24 hours.
    # Combine conditions with '+' (AND); relative times like 'now-24h' are supported.
    response = falcon.query_alerts_v2(
        filter="severity_name:'High'+created_timestamp:>'now-24h'",
        limit=limit,
        sort="created_timestamp|desc",
    )

    if response["status_code"] != 200:
        logger.error(f"Failed to query alerts: {response.get('errors')}")
        return Response(body={"error": "Failed to fetch alerts"}, code=500)

    alert_ids = response.get("body", {}).get("resources", [])
    if not alert_ids:
        return Response(body={"alerts": []}, code=200)

    details_response = falcon.get_alerts_v2(composite_ids=alert_ids)
    if details_response["status_code"] != 200:
        return Response(body={"error": "Failed to fetch alert details"}, code=500)

    alerts = details_response.get("body", {}).get("resources", [])
    return Response(body={"alerts": alerts}, code=200)

if __name__ == '__main__':
    func.run()

How it works:

  • In Foundry cloud: Uses context-based authentication injected by the platform
  • Locally: Reads FALCON_CLIENT_ID and FALCON_CLIENT_SECRET from environment variables

FalconPy already reads env vars internally, so writing a get_falcon_client() wrapper adds no value and breaks context auth in the cloud.

Go: FDK Helper Authentication

Go requires the FDK helper to get cloud and user-agent configuration:

go
package main

import (
    "context"
    "log/slog"

    fdk "github.com/CrowdStrike/foundry-fn-go"
    "github.com/crowdstrike/gofalcon/falcon"
)

func newHandler(_ context.Context, _ *slog.Logger, _ fdk.SkipCfg) fdk.Handler {
    m := fdk.NewMux()

    m.Get("/api/alerts", fdk.HandleFnOf(func(ctx context.Context, r fdk.RequestOf[struct{}]) fdk.Response {
        opts := fdk.FalconClientOpts()
        falconClient, err := falcon.NewClient(&falcon.ApiConfig{
            AccessToken:       r.AccessToken,
            Cloud:             falcon.Cloud(opts.Cloud),
            Context:           ctx,
            UserAgentOverride: opts.UserAgent,
        })
        if err != nil {
            return fdk.Response{Code: 500, Body: fdk.JSON(map[string]string{"error": "Failed to authenticate"})}
        }

        _ = falconClient // call Falcon APIs here, e.g. falconClient.Alerts
        return fdk.Response{Code: 200, Body: fdk.JSON(map[string]interface{}{"alerts": []interface{}{}})}
    }))

    return m
}

func main() {
    fdk.Run(context.Background(), newHandler)
}

Common API Patterns

Detection Queries (via Alerts API)

⚠️ The legacy Detects API (/detects/entities/detects/v2) is deprecated and returns 405 Method Not Allowed. Use the Alerts API for all detection queries.

python
@func.handler(method='GET', path='/api/detections')
def get_detections(request: Request, config, logger) -> Response:
    falcon = Alerts()  # Zero-arg — auth is automatic

    severity_min = int(request.params.query.get("severity_min", ["70"])[0])  # 1-100 scale
    limit = min(int(request.params.query.get("limit", ["50"])[0]), 100)

    # query_alerts_v2 calls GET /alerts/queries/alerts/v2; get_alerts_v2 calls POST /alerts/entities/alerts/v2.
    # FQL filter: severity threshold + endpoint detections only.
    query_response = falcon.query_alerts_v2(
        filter=f"severity:>={severity_min}+product:'epp'",
        limit=limit,
        sort="created_timestamp|desc",
    )
    if query_response["status_code"] != 200:
        return Response(body={"error": "Failed to query detections"}, code=500)

    alert_ids = query_response.get("body", {}).get("resources", [])
    if not alert_ids:
        return Response(body={"detections": []}, code=200)

    details = falcon.get_alerts_v2(composite_ids=alert_ids)
    if details["status_code"] != 200:
        return Response(body={"error": "Failed to get details"}, code=500)

    return Response(body={"detections": details["body"]["resources"]}, code=200)

Host Lookups

python
@func.handler(method='GET', path='/api/hosts')
def get_host_details(request: Request, config, logger) -> Response:
    falcon = Hosts()

    hostname = request.params.query.get("hostname", [""])[0]  # ?hostname=...
    if not hostname:
        return Response(body={"error": "Hostname required"}, code=400)

    query = falcon.query_devices_by_filter(filter=f"hostname:'{hostname}'")
    if query["status_code"] != 200:
        return Response(body={"error": "Failed to query devices"}, code=500)

    host_ids = query.get("body", {}).get("resources", [])
    if not host_ids:
        return Response(body={"error": f"Host not found: {hostname}"}, code=404)

    details = falcon.get_device_details(ids=host_ids)
    host = details.get("body", {}).get("resources", [{}])[0]
    return Response(body={"host": host}, code=200)

Multi-API Enrichment

Combining Hosts and Alerts in one handler follows the same query-then-get-details shape as above. See references/advanced-patterns.md for the full example.

LogScale / NG-SIEM Queries from Functions

When you need to query LogScale data (e.g., workflow execution stats from the "fusion" repo, detection telemetry, custom ingested events), use the NGSIEM class. This is distinct from ingestion (covered in functions-development).

⚠️ Class Disambiguation:

  • NGSIEM — Use for querying (async search jobs) and file uploads (lookup files, CSV imports). This is the query interface.
  • FoundryLogScale — Use only for ingestion (ingest_data). Despite the name suggesting broad LogScale functionality, it does NOT have the search methods.

Query Pattern (Python)

python
import time
from logging import Logger
from typing import Any, Dict, Union
from crowdstrike.foundry.function import Function, Request, Response
from falconpy import NGSIEM

func = Function.instance()

# Always "search-all" — see the gotcha below. Scope to a repo in the query, not here.
REPO = "search-all"


def run_logscale_query(ngsiem, query_string, start, end, logger, max_wait=40):
    """Execute a CQL query as an async search job and return result rows.

    ``start`` / ``end`` accept Humio relative strings ("24h", "7d", "30d",
    "now") or epoch-millisecond integers.
    """
    payload = {"queryString": query_string, "start": start, "end": end, "isLive": False}
    started = ngsiem.start_search(repository=REPO, search=payload)

    if not isinstance(started, dict) or started.get("status_code", 500) >= 300:
        logger.error(f"start_search failed: {started}")
        return None

    # start_search returns "resources"; get_search_status returns "body".
    job_id = (started.get("resources") or {}).get("id")
    if not job_id:
        logger.error(f"start_search returned no job id: {started}")
        return None

    # Poll until done
    waited = 0.0
    poll_interval = 1.5
    while waited < max_wait:
        time.sleep(poll_interval)
        waited += poll_interval
        status = ngsiem.get_search_status(repository=REPO, id=job_id)
        if not isinstance(status, dict) or status.get("status_code", 500) >= 300:
            logger.error(f"get_search_status failed: {status}")
            return None
        sbody = status.get("body") or {}
        if sbody.get("done"):
            return sbody.get("events", []) or []

    logger.warning(f"query timed out after {max_wait}s: {query_string}")
    return None


@func.handler(method='POST', path='/api/query')
def handle_query(request: Request, config: Union[Dict[str, Any], None], logger: Logger) -> Response:
    ngsiem = NGSIEM()  # Zero-arg auth — automatic in Foundry

    query = request.body.get("query", "")
    start = request.body.get("start", "24h")
    end = request.body.get("end", "now")

    events = run_logscale_query(ngsiem, query, start, end, logger)
    if events is None:
        return Response(body={"error": "LogScale query failed"}, code=500)

    return Response(body={"results": events, "count": len(events)}, code=200)

if __name__ == '__main__':
    func.run()

start_search Arguments and Responses

Pass the query to start_search as search=, as in the example above. Response keys are asymmetric: start_search renames its payload to resources (read started["resources"]["id"]), while get_search_status does not (read status["body"]).

The "search-all" Repository Gotcha

CRITICAL: Always pass repository="search-all" when querying from Foundry functions. Passing a specific repository name (e.g., "fusion", "main") causes 403 Forbidden errors at runtime ("scope not permitted"), even if the repository exists and the app has humio-auth-proxy scopes granted.

The NG-SIEM queryjobs API is addressed by searchable view, not by raw repo name. Use search-all as the repository and add #repo=fusion (or whichever repo you need) as a filter prefix in your query string:

python
# Filter to a specific repo within the query itself
query = "#repo=fusion | execution_log_type=summary | execution_log_subtype=end | groupby([status], function=count(execution_id, distinct=true))"
events = run_logscale_query(ngsiem, query, "24h", "now", logger)

Required OAuth Scopes

yaml
# manifest.yml
auth:
    scopes:
        - humio-auth-proxy:read     # Required for queries
        - humio-auth-proxy:write    # Required only if also uploading lookup files

Reference

  • Exporting Falcon Next-Gen SIEM Query Results to CSV with Falcon Foundry — background on async LogScale querying from Foundry, plus CSV export. Note that this post reaches for FoundryLogScale with mode="async"; the NGSIEM pattern above is what has been verified end-to-end against the queryjobs API in a deployed app. Use the pattern above, and treat the post as context for the surrounding workflow (time ranges, result handling, export).

Falcon Next-Gen SIEM Content APIs

Dashboards, saved queries, lookup files, and persisted aggregations take different search domain names, and a wrong one answers 404 or 400, not 403. See ngsiem-content-apis.

Charlotte AI AgentWorks (/agentic-studio/*)

Use the Agents, Spans, AgentInvocation, AgentVersions, and Models classes with the charlotte-ai-agent-definition scopes (read; write to invoke and poll). Filter spans on attributes.aw_agent.id (not aw_agent.agent_id, which silently matches nothing). Route-to-method map: advanced-patterns.

The 207 Multi-Status Gotcha

CrowdStrike APIs may return 207 Multi-Status responses that look successful but contain embedded errors. Check the errors array:

python
response = falcon.perform_action(action_name="contain", ids=host_ids)

if response["status_code"] == 207:
    errors = response.get("body", {}).get("errors", [])
    rate_limited = [e for e in errors if e.get("code") == 429]
    if rate_limited:
        return Response(body={"error": "Rate limited", "failed_ids": [e.get("id") for e in rate_limited]}, code=429)

Testing

Mock Falcon APIs in tests instead of making real API calls (they are slow, flaky, and quota-consuming):

python
import importlib
from unittest.mock import Mock, patch

from crowdstrike.foundry.function import Request, RequestParams

import main

def test_get_alerts_success():
    mock_falcon = Mock()
    mock_falcon.query_alerts_v2.return_value = {
        "status_code": 200,
        "body": {"resources": ["alert-001", "alert-002"]}
    }
    mock_falcon.get_alerts_v2.return_value = {
        "status_code": 200,
        "body": {"resources": [{"id": "alert-001", "severity": 80}]}
    }

    # @func.handler registers the function and returns None, so swap in an
    # identity decorator and reload main (as foundry-sample-functions-python's tests do)
    with patch("crowdstrike.foundry.function.Function.handler", new=lambda *a, **k: (lambda f: f)):
        importlib.reload(main)
    with patch("main.Alerts", return_value=mock_falcon):
        request = Request(params=RequestParams(query={"limit": ["10"]}))
        response = main.get_alerts(request, None, Mock())
        assert response.code == 200
        assert len(response.body["alerts"]) == 1
        # get_alerts_v2 reads only composite_ids; ids= fails with a 400 before any request is sent
        mock_falcon.get_alerts_v2.assert_called_once_with(composite_ids=["alert-001", "alert-002"])

Local Testing

bash
export FALCON_CLIENT_ID="your-client-id"
export FALCON_CLIENT_SECRET="your-client-secret"
cd functions/my-function && python3 main.py
# The FDK reads a JSON envelope, not the URL: POST it to the root with method, url, and params
curl -X POST http://localhost:8081 -H 'Content-Type: application/json' \
  -d '{"method": "GET", "url": "/api/alerts", "params": {"query": {"limit": ["10"]}}}'

OAuth Scopes for manifest.yml

Every FalconPy service class call requires the correct OAuth scope(s) declared in your manifest's auth.scopes array. Without them the function gets a 403 at runtime; foundry apps validate doesn't catch it.

⚠️ Scope names don't always match class names. Hosts needs devices:read, not hosts:read. Use this table, don't guess.

Built-in capabilities don't need scopes. API integrations, collections, and workflows work without declaring their scopes when used through Foundry's built-in SDK patterns (falcon.apiIntegration(), CustomStorage() for app collections, etc.). Only declare scopes when calling Falcon platform APIs directly via FalconPy service classes.

Scope Reference

Each row is verified against a sample app's manifest, a live CID, or the API swagger.

FalconPy ClassMethodsRequired Scope(s)Verified In
Hostsget_device_detailsdevices:readfoundry-sample-functions-python
Intelquery_indicator_idsfalconx-indicators:readfoundry-sample-zscaler-internet-access
IdentityProtectiongraphql, query_sensors, get_sensor_detailsidentity-graphql:write, identity-entities:readfoundry-sample-idp-notifications
IdentityProtectionquery_policy_rules, get_policy_rules, delete_policy_rulesidentity-policy-rules:read, identity-policy-rules:writefoundry-sample-servicenow-idp
NGSIEMupload_filehumio-auth-proxy:writefoundry-sample-ngsiem-importer
NGSIEMstart_search, get_search_statushumio-auth-proxy:readVerified against a live CID (200 + results); see LogScale Queries section
NGSIEM/ngsiem-content/ callsSee ngsiem-content-apisLive CID
FoundryLogScaleingest_dataapp-logs:read, app-logs:writefoundry-sample-logscale
FirewallManagementcreate_rule_group, query_events, get_eventsfirewall-management:read, firewall-management:writefoundry-sample-category-blocking
HostGroupquery_host_groups, get_host_groupshost-group:read, host-group:writefoundry-sample-category-blocking
Agents, Spans, AgentInvocation, AgentVersions, ModelsAgentWorkscharlotte-ai-agent-definition:read, :writeEndpoints verified on EU-1
CaseManagementquery_case_ids, get_cases / update_case_fieldscases:read / cases:writeAPI swagger
RealTimeResponsebatch_init_sessions, batch_command / batch_active_responder_command (incl. runscript)real-time-response:read / :writeAPI swagger
RealTimeResponseAdminbatch_admin_command (put, run)real-time-response-admin:writeAPI swagger

Go functions (gofalcon) need the same scopes. Incidents use incidents:read / :write.

How to declare scopes

yaml
# manifest.yml
auth:
    scopes:
        - devices:read
        - falconx-indicators:read
    permissions: {}
    roles: []

When unsure about the correct scope

If you're using a FalconPy method not in this table:

  1. Check the method's HTTP verb and API path in FalconPy source — GET typically needs :read, POST/PUT/PATCH/DELETE typically needs :write
  2. The scope prefix is usually the API path prefix (e.g., /iocs/... → iocs, /devices/... → devices), but exceptions exist (Hosts → devices, /humio/ → humio-auth-proxy, /ngsiem-content/ → one per type)
  3. When ambiguous, ask the user which scopes to include rather than guessing

Falcon Severity Values

Alerts carry severity as an integer from 1 to 100 (100 is most severe) and severity_name as its label, for example 30 / "Low" and 70 / "High". Filter on severity_name:'High' or a numeric threshold such as severity:>=70; a low threshold like severity:>=3 matches almost every alert. The max_severity / max_severity_displayname fields belong to the deprecated Detects API. When passing severity to an external system (Jira, ServiceNow, email), map severity_name to its expected values instead of passing the raw number through.

Common Pitfalls

  • Writing OAuth code or credential management. Auth is automatic inside FDK handlers. The zero-arg pattern (Hosts(), Alerts()) handles all auth. (Go requires fdk.FalconClientOpts() -- see above.)
  • Using requests library instead of CrowdStrike SDKs. SDKs handle auth, retries, pagination, and region discovery.
  • Passing credentials explicitly to constructors. Use zero-arg constructors (Alerts(), Hosts()). Do NOT write IOC(client_id=os.environ["FALCON_CLIENT_ID"], client_secret=...) -- this breaks context-based auth in the Foundry cloud.
  • Writing Falcon API calls outside of FDK handler functions. The handler pattern is required for automatic auth injection.
  • Module-scope client, or request.params.get() / request.query. 401 on every call, or an attribute error.
  • Not handling 207 Multi-Status. These responses look successful but may contain embedded errors.

Use Cases

For real-world implementation patterns, see:

  • use-cases/python-functions.md — Python handler patterns, SDK usage, testing

Reference Implementations

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Functions Falcon Api faz?

Call CrowdStrike Falcon platform APIs (detections, alerts, hosts, RTR) from within Foundry function handlers. TRIGGER when user asks to "call Falcon APIs from a function", "use FalconPy in a function", "use gofalcon in a function", or needs to integrate Falcon platform APIs within serverless function code. DO NOT TRIGGER when user wants to expose external third-party APIs to Foundry — use api-integrations instead.

Por que usar Functions Falcon Api no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Functions Falcon Api é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Functions Falcon Api no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/CrowdStrike/foundry-skills/tree/main/skills/functions-falcon-api. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Functions Falcon Api?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Functions Falcon Api?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Functions Falcon Api com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Functions Falcon Api é gratuita?

Sim. A habilidade é publicada no GitHub por CrowdStrike sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇