recurring-jobs
O que ela faz
Esta skill explica como funcionam as tarefas recorrentes agendadas em um aplicativo Agent-Native, incluindo os arquivos de tarefa e o agendador por trás deles. É para desenvolvedores que mantêm recursos antigos de tarefas ou corrigem problemas do agendador.
Quando usar
- ✓Quando um usuário pede ao agente que faça algo em uma agenda que se repete.
- ✓Quando você mantém uma integração antiga que usa a ferramenta manage-jobs.
- ✓Quando tarefas agendadas não rodam em uma determinada plataforma de hospedagem.
Link da skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/recurring-jobs/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Configure uma tarefa que rode todo dia útil de manhã e salve o resultado em um chat.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escreve um arquivo de tarefa com a sua agenda. Um agendador verifica, aproximadamente a cada minuto, as tarefas vencidas, executa-as e salva cada resultado como uma thread de chat.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Recurring Jobs (Compatibility)
Rule
Recurring Jobs is the legacy name and API for scheduled automations. Jobs live
as resource files under jobs/ with YAML frontmatter for scheduling metadata.
Read automations for the product model, trigger types, frontmatter fields,
organization scope, and when to prefer manage-automations over manage-jobs.
This skill covers only what is specific to the legacy scheduled path: the
manage-jobs tool and the cron scheduler behind it.
How It Works
- User asks for something recurring via the agent chat
- Agent uses
manage-jobstool (action: "create") to write a job file atjobs/<name>.md - A scheduler tick finds due jobs about once a minute. Long-running servers fire it in-process; Netlify, Vercel, and Cloudflare fire it from a platform trigger the build emits; AWS Lambda has no trigger, so jobs never fire there
- Due jobs enter the shared background-automation runner, on the same execution lifecycle as event automations
- Job results are saved as chat threads
Connected MCPs in background jobs
When a job needs a connected remote MCP, bind the exact advertised
mcp__<server>__<tool> names through mcpTools. The scheduler passes that
definition to the shared runner, which resolves only that allowlist under the
persisted creator/org request context and never stores or exposes OAuth tokens,
URLs, or arbitrary proxy targets.
Use an app-owned bounded import/upsert action for writes. Keep provider-specific
response mapping, provenance, deduplication, and write policy in the app rather
than in core. For example, a job can read meeting notes from any connected MCP
and pass normalized action items to an app's idempotent import action.
Job Tool (built in)
| Tool | Action | Purpose |
|---|---|---|
manage-jobs |
create |
Create a recurring job (name, cron schedule, instructions); fails if the name exists |
manage-jobs |
list |
List all jobs and their status |
manage-jobs |
update |
Update schedule, instructions, or toggle enabled |
Job files an app owns
create never replaces an existing job file, so a name that collides with an
app's file (Factory's factories/<id>/<name>) is refused instead of reset.
An app that stores its own settings in a job's frontmatter marks the file with
triggerType, which makes list, update, and delete skip it and sends the
caller to manage-automations. Edit those files only through the owning app's
actions, and patch fields in place; rebuilding a file from the fields the writer
knows drops the rest while the job keeps running.
Any write to a jobs/ file that removes a frontmatter field other than run
bookkeeping is recorded as a job-fields-dropped audit event (org admins read
it with list-audit-events and action: "job-fields-dropped"). Its input names
the writer, the dropped fields, and the agent thread and run that made it.
UI Surface
/agent#jobs is the stable compatibility URL for the Agent page's
Automations tab, which lists legacy scheduled jobs alongside trigger-aware
automations and is backed by the scoped list/manage actions. Direct users there
instead of describing job files when they just want to view or toggle scheduled
work.
Key Files
| File | Purpose |
|---|---|
packages/core/src/jobs/cron.ts |
Cron parsing (nextOccurrence, isValidCron, describeCron) |
packages/core/src/jobs/scheduler.ts |
Job execution engine (processRecurringJobs) |
packages/core/src/jobs/tools.ts |
Agent tool (manage-jobs with create/list/update actions) |
packages/core/src/client/agent-page/ |
AgentJobsTab, the /agent#jobs surface |
Related Skills
automations— The primary Scheduled/Event product modelactions— How tools and actions workdelegate-to-agent— How jobs invoke the agent loop
Perguntas frequentes
Com que frequência o agendador verifica as tarefas vencidas?
Aproximadamente uma vez por minuto, segundo a skill.
As tarefas rodam em todas as plataformas de hospedagem?
Não. A skill observa que o AWS Lambda não tem gatilho, então as tarefas nunca disparam ali.
Qual ferramenta as novas tarefas devem usar?
A skill diz para preferir o manage-automations em vez da ferramenta antiga manage-jobs.
Detalhes
Descrição original do autor
The legacy manage-jobs compatibility surface, job files under jobs/, and cron scheduler internals. Use when maintaining manage-jobs integrations or debugging the scheduler.
repo: BuilderIO/agent-native
Popularidade
- Estrelas no GitHub
- 7,6 mil
- Posição no ranking
- #13176
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
design-exploration
7,6 milAjuda seu agente a explorar várias direções de design de interface lado a lado, deixar você escolher uma e depois refinar o design escolhido.
visual-edit
7,6 milAjuda seu agente a abrir um aplicativo local em execução em um editor visual, para que você possa revisar e editar as telas reais juntos.
turn-into-app
7,6 milTransforma um fluxo de trabalho, uma planilha ou um projeto em um aplicativo visual bem acabado, com telas preenchidas e um agente trabalhando por trás dos controles.
visual-plan
7,6 milTransforma um plano em texto simples em um plano visual interativo, com diagramas, mapas de arquivos, trechos de código e perguntas em aberto.
Skills parecidas
api-connector-builder
280 milFaz seu agente construir novas conexões com APIs seguindo o padrão já existente. Use quando precisar adicionar mais uma integração sem criar um novo jeito de fazer.
api-design
280 milAjuda seu agente a projetar APIs REST seguindo as melhores práticas. É útil para definir como as APIs se comunicam, como os erros são mostrados e como organizar os dados.
backend-patterns
280 milAjuda seu agente com padrões de arquitetura do lado do servidor e otimização de banco de dados. É útil para construir ou revisar o código que roda no servidor.