/iblai-vibe:iblai-vibe-agent-taskfrom ibl.ai vibe
Adds a Tasks tab to your Next.js app for scheduling agent prompts (once, daily, weekly, monthly) and viewing run logs. Use when the user mentions scheduled tasks, recurring agent jobs, cron, or periodic agents.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.

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.

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.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-auth, or vibe-starter).AgentSettingsProvider wraps the route (/iblai-vibe-agent §1).@iblai/iblai-js@^3.6.0 (resolves @iblai/web-containers 2.6.0). Check with
pnpm why @iblai/web-containers.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"
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.
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>
)}
/>;
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).
get_component_info("AgentTasksTab")
get_component_info("AgentSettingsProvider")
<AgentTasksTab> PropsImport 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 |
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.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.
| 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.
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./agents/<uuid>/tasks in the browser as /iblai-vibe-ops-test says, 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.start_time in UTC, so a repeat can fire at that hour UTC.AgentSettingsProvider once at the layout
level (/iblai-vibe-agent §1); do not wrap each tab.sonner and @iblai/iblai-web-mentor
(pnpm add sonner @iblai/iblai-web-mentor).iblai-vibe-agent-task-1-tasks.png (opens in a new tab)iblai-vibe-agent-task-2-schedule.png (opens in a new tab)iblai-vibe-agent-task-3-logs.png (opens in a new tab)iblai-vibe-agent-task-4-delete.png (opens in a new tab)iblai-vibe-agent-task-5-phone.png (opens in a new tab)iblai-vibe-agent-task-6-phone-logs.png (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.Other plugins' skills for the same job