iblai-vibe-agent-task
Skill222 starsChanged 12 days agoMITView on GitHub
Add the agent Tasks tab (schedule prompts the agent runs on its own -- once, daily, weekly or monthly -- and read each run's log) to your Next.js app. Use when the user mentions scheduled tasks, recurring agent jobs, cron, daily summaries, reminders the agent sends itself, or periodic agents. For the agent's other settings see /iblai-vibe-agent.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- iblai/vibeword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- iblai/vibe★ 222100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository166 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- iblai-vibe-pr-reviewSkill
- iblai-api-agent-accessSkill
- iblai-api-agent-auditSkill
- iblai-api-agent-chatSkill
- iblai-api-agent-createSkill
- iblai-api-agent-datasetSkill
- iblai-api-agent-disclaimerSkill
- iblai-api-agent-embedSkill
- iblai-api-agent-evalSkill
- iblai-api-agent-historySkill
- iblai-api-agent-llmSkill
- iblai-api-agent-mcpSkill
- iblai-api-agent-memorySkill
- iblai-api-agent-privacySkill
- iblai-api-agent-promptSkill
- iblai-api-agent-safetySkill
- iblai-api-agent-sandboxSkill
- iblai-api-agent-sessionSkill
- iblai-api-agent-settingSkill
- iblai-api-agent-skillSkill
- iblai-api-agent-supportSkill
- iblai-api-agent-toolSkill
- iblai-api-agent-voiceSkill
- iblai-api-inferenceSkill
- iblai-api-searchSkill
- iblai-vibe-agent-accessSkill
- iblai-vibe-agent-analyticsSkill
- iblai-vibe-agent-apiSkill
- iblai-vibe-agent-assistantSkill
- iblai-vibe-agent-auditSkill
- iblai-vibe-agent-billingSkill
- iblai-vibe-agent-chat-sidebarSkill
- iblai-vibe-agent-chatSkill
- iblai-vibe-agent-createSkill
- iblai-vibe-agent-datasetSkill
- iblai-vibe-agent-disclaimerSkill
- iblai-vibe-agent-embedSkill
- iblai-vibe-agent-evalsSkill
- iblai-vibe-agent-graderSkill
- iblai-vibe-agent-historySkill
- iblai-vibe-agent-llmSkill
- iblai-vibe-agent-ltiSkill
- iblai-vibe-agent-mcpSkill
- iblai-vibe-agent-memorySkill
- iblai-vibe-agent-privacySkill
- iblai-vibe-agent-promptSkill
- iblai-vibe-agent-safetySkill
- iblai-vibe-agent-sandboxSkill
- iblai-vibe-agent-screenshareSkill
- iblai-vibe-agent-searchSkill
- iblai-vibe-agent-settingSkill
- iblai-vibe-agentSkill
- iblai-vibe-agent-skillsSkill
- iblai-vibe-agent-supportSkill
- iblai-vibe-agent-toolSkill
- iblai-vibe-agent-virtual-machineSkill
- iblai-vibe-agent-voiceSkill
- iblai-vibe-incognitoSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Add the agent Tasks tab -- prompts the agent runs on a schedule, without anyone asking, and a log of every run.
- Very specific: line 65
Look for iblai.env in the project root with PLATFORM, DOMAIN, and TOKEN.
- Very specific: line 205
All from @iblai/iblai-js/data-layer.
- Very specific: line 210
Run /iblai-vibe-ops-test before telling the user the work is ready, and give every page, control and state this skill added its own …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/iblai-vibe-agent-task
Add the agent Tasks tab -- prompts the agent runs on a schedule, without
anyone asking, and a log of every run. Scope: per agent. Each task is a
periodic agent run that belongs to this agent. This is one tab in the
agent-settings family indexed by /iblai-vibe-agent; it shares the
AgentSettingsProvider wrapper with every other tab.
Tasks -- search, a date filter (Select Date, the day a task starts), Schedule Task on the right, the counters (Total Tasks, Completed, Failed) in one strip, and the task list: name, time, repeat, a status icon and a delete icon. The list shows as many tasks as fit the space and pages the rest, so it never scrolls (between 768 and 1023px wide it shows 5 a page instead). The status icon is grey; hover it (or use a screen reader) for the word. It follows the latest run: Running, Failed or Completed; before the first run it is Scheduled (or Disabled). With no tasks the tab shows one dashed empty box.
Schedule Task -- a calendar for the start date, then Task Name, Task Prompt, Time, Repeat (Don't repeat / Daily / Weekly / Monthly) and Notify me by email. The start must be in the future, or the dialog says so and Schedule Task stays disabled.
Image: Tasks tab -- Schedule Task
Task Logs -- click a task to list its runs (status, when, the start of the output), as many as fit, with a pager. Click a run for Log Details: status, Created, Started and Ended times, and the full output.
Delete Task -- the trash icon asks for confirmation; the task stops.
Image: Tasks tab -- Delete Task
On a phone (below 768px) -- each task is a card, the date filter is an icon that opens a sheet from the bottom, and a "Page x of y" pager replaces the page numbers. Tapping a task opens Task Logs full screen, with Back.
Image: Tasks tab on a phone Image: Task Logs on a phone
Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
Prerequisites
- Auth set up (
/iblai-vibe-auth, or vibe-starter). AgentSettingsProviderwraps the route (/iblai-vibe-agent§1).@iblai/iblai-js@^3.1.0(resolves@iblai/web-containers2.1.0). Check withpnpm why @iblai/web-containers.- A real agent UUID. Ask the user; never invent one.
Step 1: Check Environment
Look for iblai.env in the project root with PLATFORM, DOMAIN, and
TOKEN. If it is missing, tell the user:
"You need an iblai.env with your platform configuration. Download the
template and fill in your values:
curl -o iblai.env https://raw.githubusercontent.com/iblai/vibe/refs/heads/main/iblai.env"
Step 2: Mount AgentTasksTab
// app/(app)/agents/[mentorId]/tasks/page.tsx
"use client";
import { AgentTasksTab } from "@iblai/iblai-js/web-containers/next";
export default function AgentTasksPage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentTasksTab />
</div>
);
}The tab reads tenantKey, mentorId, and username from
AgentSettingsProvider and does its own fetching and saving. No props are
required.
The tab measures its wrapper to decide how many rows fit, so give it a set
height (here h-full inside a full-height layout, as in /iblai-vibe-agent
§1). On phones the tab's explanation moves behind an info button in your
header when the header has an empty <div data-activity-info-slot />;
without one it stays above the tab.
Custom pagination (optional)
The task list and the logs panel use the SDK's IblPagination. Pass
PaginationComponent to use your own; it also receives
disableNumberedButtons. Phones always get the SDK's "Page x of y" pager:
import { AgentTasksTab } from "@iblai/iblai-js/web-containers/next";
<AgentTasksTab
PaginationComponent={({ currentPage, totalPages, onPageChange, disabled }) => (
<nav className="flex gap-2">
<button disabled={disabled || currentPage <= 1} onClick={() => onPageChange(currentPage - 1)}>
Previous
</button>
<span>
{currentPage} / {totalPages}
</span>
<button
disabled={disabled || currentPage >= totalPages}
onClick={() => onPageChange(currentPage + 1)}
>
Next
</button>
</nav>
)}
/>;Step 3: Customize Labels (Optional)
The tab renders with the default agent-facing copy (AGENT_TASKS_TAB_LABELS,
localized through the SDK's i18n). Pass a partial labels object to change
any string:
import { AgentTasksTab } from "@iblai/iblai-js/web-containers/next";
<AgentTasksTab
labels={{
header: { title: "Scheduled tasks" },
toolbar: { scheduleTask: "New task" },
}}
/>;Label groups (TasksTabLabels): header (title, description, info
text), toolbar (search, date filter, Schedule Task), metrics (the
three counters), list (repeat wording, status words, deleteTask),
logs (the logs panel), states (loading and empty states),
scheduleDialog (fields, repeat options, startTimeInPast, buttons),
deleteDialog (title, confirmation text, buttons), logDetails (field
names), and toasts (schedule and delete success and error).
Step 4: Use MCP Tools for Customization
get_component_info("AgentTasksTab")
get_component_info("AgentSettingsProvider")<AgentTasksTab> Props
Import from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
labels | DeepPartial<TasksTabLabels> | No | Override user-visible strings |
PaginationComponent | ComponentType<{ currentPage, totalPages, onPageChange, disabled, disableNumberedButtons? }> | No | Pagination for the task list and logs. Defaults to the SDK's IblPagination |
Related Exports
From @iblai/iblai-js/web-containers/next:
AGENT_TASKS_TAB_LABELS-- the default label bundle.TaskListItem-- a task as listed (id,name,time,repeat,oneOff,enabled,status,rawData).TaskLog-- a run as listed (id,entry,timestamp,periodicAgentId,status,startTime,endTime).TaskDisplayStatus--Disabled|Running|Failed|Completed|Scheduled.AgentTasksTabProps,TasksTabLabels-- types.
How it saves
Paths are under /api/ai-mentor/orgs/{org}/users/{username}/.
| Action | Request |
| Load | GET periodic-agents/?mentor_id=<uuid> (plus search; the date filter narrows the fetched page in the browser -- the endpoint has no date filter and ignores the start_date / end_date the tab sends), and GET periodic-agent-logs/?ordering=-created_at for the status icons |
| Click a task | GET periodic-agent-logs/?periodic_agent={id} |
| Schedule Task | POST periodic-agents/ with mentor, title, prompt and task: { name, crontab, enabled: true, one_off, start_time } |
| Delete Task | DELETE periodic-agents/{id}/ |
The crontab uses the chosen time. Weekly adds the weekday, Monthly adds the
day of the month, and Don't repeat pins the day and month and sets
one_off, so the task runs once and then switches itself off.
Platform data
| Hook | Purpose |
useGetPeriodicAgentsQuery | The agent's tasks |
useGetPeriodicAgentLogsListQuery | Run logs (recent, and per task) |
useCreatePeriodicAgentMutation | Schedule a task |
useDeletePeriodicAgentMutation | Delete a task |
All from @iblai/iblai-js/data-layer. There is no iblai-api-* REST twin
for tasks yet; the endpoints above are in the live schema.
Step 5: Verify
Run /iblai-vibe-ops-test before telling the user the work is ready, and give
every page, control and state this skill added its own checkpoint — one Playwright
test titled <ID> · … in e2e/journeys/, listed in e2e/coverage.json;
pnpm e2e:coverage must pass:
pnpm build-- must pass with zero errors.pnpm test-- vitest must pass.- Touch test
/agents/<uuid>/tasksin the browser as/iblai-vibe-ops-testsays, signed in as an org admin: the counters and task list render; schedule a one-off task a few minutes ahead; after it runs, click it -- its run appears under Task Logs; read the console; check the phone width.
Important Notes
- The repeat time carries no timezone: the dialog sends the crontab's
hour and minute from the user's clock (the crontab has no timezone
field) and
start_timein UTC, so a repeat can fire at that hour UTC. - "Notify me by email" is not saved: the dialog shows the switch, but the SDK does not send it to the API.
- Runs are real agent turns: each run sends the prompt to the agent and costs model calls.
- Shared provider: mount
AgentSettingsProvideronce at the layout level (/iblai-vibe-agent§1); do not wrap each tab. - Peer deps:
sonnerand@iblai/iblai-web-mentor(pnpm add sonner @iblai/iblai-web-mentor). - Brand guidelines: BRAND.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

