iblai-vibe-agent-lti
Skill222 starsChanged 13 days agoMITView on GitHub
Add the agent LTI tab (put the agent inside an LMS course with LTI 1.3 -- the launch switch, the agent's LTI link, the organization's signing keys and LMS tools, and the endpoints to register) to your Next.js app. Use when the user mentions LTI, Canvas, Brightspace, Blackboard, Moodle, deep linking, or adding the agent to an LMS course. 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-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-taskSkill
- 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
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Add the agent LTI tab -- let an LMS (Canvas, Brightspace, Blackboard, Moodle) launch the agent inside a course with LTI 1.3.
- Very specific: line 80
Look for iblai.env in the project root with PLATFORM, DOMAIN, and TOKEN.
- Very specific: line 178
Every call needs platform_key: in the query on GET and DELETE, in the body on POST and PUT.
- Very specific: line 193
All from @iblai/iblai-js/data-layer, with the LtiAgentLink and LtiAgentLinkStatus types.
- Very specific: line 199
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 …
- Distinctive: line 216
Delete order: remove or re-key a tool before deleting its key.
≈ “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-lti
Add the agent LTI tab -- let an LMS (Canvas, Brightspace, Blackboard,
Moodle) launch the agent inside a course with LTI 1.3. Scope: mixed. The
switch and the Links sub-tab belong to this agent; Keys and Tools
are shared by the whole organization; Tool Endpoints are fixed for the
organization. This is one tab in the agent-settings family indexed by
/iblai-vibe-agent; it shares the AgentSettingsProvider wrapper with every
other tab.
Links -- the switch (the agent's is_lti_accessible setting; while off,
the sub-tabs stay visible but grayed out) and the agent's LTI link: Name,
Target Link URI (with copy), Status and an edit action. An agent has one
link: Create LTI Link shows only while there is none. A new link builds
in the background -- Pending or Building with a spinner and a Refresh
button, then Ready or Failed (with Retry).
Edit LTI Link -- one field, the name shown when a teacher picks this agent during deep linking. Only Ready links can be edited.
Image: LTI tab -- Edit LTI Link
Keys -- the organization's RSA signing keys (name and public key), with Create LTI Key (name only; the key pair is generated) and an Edit / Delete menu per row.
LTI Key -- rename the key and copy its Public Key (PEM) or Public JWK. A key still used by a tool cannot be deleted.
Tools -- the organization's LMS registrations (Name, Issuer, Client ID) with Create LTI Tool and an edit action.
Create LTI Tool -- the values the LMS gives you: Name, Issuer, Client ID, Auth Login URL, Auth Token URL, Auth Audience (optional), the LMS public keys (a JWKS URL, recommended, or Raw JWKS JSON), a Signing Key from the Keys sub-tab, and Deployment IDs (one per line or comma-separated).
Image: LTI tab -- Create LTI Tool
Tool Endpoints -- the four URLs to paste into the LMS, each with copy:
Redirect URI, Login Initiations Endpoint, Deep Linking Endpoint and JWKS
Endpoint. They are built from lmsDomain (Step 2).
Image: LTI tab -- Tool Endpoints
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.
- An organization admin signed in: Links, Keys and Tools are admin-only, so an agent's owners and editors get 403 here.
- The organization's edX LMS host for
lmsDomain. vibe-starter has it asconfig.legacyLmsUrl(); elsewhere 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 AgentLtiTab
// app/(app)/agents/[mentorId]/lti/page.tsx
"use client";
import { AgentLtiTab } from "@iblai/iblai-js/web-containers/next";
import config from "@/lib/iblai/config";
export default function AgentLtiPage() {
return (
<div className="flex h-full flex-col bg-white">
<AgentLtiTab lmsDomain={config.legacyLmsUrl()} />
</div>
);
}The tab reads tenantKey, mentorId and username from
AgentSettingsProvider (each can be passed as a prop instead) and does its
own fetching and saving. Pass lmsDomain -- the edX LMS host (learn.*),
not the API base: without it the Tool Endpoints are bare paths. The JWKS
endpoint uses the organization's code from the platform info; pass
orgShortName to override it.
Step 3: Customize Labels (Optional)
The tab renders with the default agent-facing copy (AGENT_LTI_TAB_LABELS,
localized through the SDK's i18n). Pass a partial labels object to change
any string:
import { AgentLtiTab } from "@iblai/iblai-js/web-containers/next";
import config from "@/lib/iblai/config";
<AgentLtiTab
lmsDomain={config.legacyLmsUrl()}
labels={{
header: { title: "LMS integration" },
subTabs: { agentLinks: "Launch link" },
}}
/>;Label groups (LtiTabLabels): header (title, description),
capability (the switch and its toasts), subTabs (agentLinks, keys,
tools, toolEndpoints), common (shared buttons, column headings and form copy),
links (the links table, status badges, refresh and retry, the link
dialog), keys (the keys table, create, detail and delete dialogs),
tools (the tools table and the tool dialog fields), endpoints (the four
endpoint names and descriptions), and toasts.
Step 4: Use MCP Tools for Customization
get_component_info("AgentLtiTab")
get_component_info("AgentSettingsProvider")<AgentLtiTab> Props
Import from @iblai/iblai-js/web-containers/next.
| Prop | Type | Required | Description |
lmsDomain | string | Recommended | The edX LMS host the Tool Endpoints are built on, e.g. config.legacyLmsUrl() |
orgShortName | string | No | Organization code in the JWKS URL. Defaults to the platform info's org, then the organization key |
labels | DeepPartial<LtiTabLabels> | No | Override user-visible strings |
tenantKey | string | No | Organization key; defaults to AgentSettingsProvider |
mentorId | string | No | Agent UUID; defaults to AgentSettingsProvider |
username | string | No | Signed-in username; defaults to AgentSettingsProvider |
enableRBAC | boolean | No | Accepted for parity; SDK 2.36.2 gates no LTI control on it |
Related Exports
From @iblai/iblai-js/web-containers/next:
AGENT_LTI_TAB_LABELS-- the default label bundle.AgentLtiTabProps,LtiTabLabels-- types.
How it saves
| Action | Request |
| The switch | PUT /api/ai-mentor/orgs/{org}/users/{username}/mentors/{uuid}/settings/ with is_lti_accessible |
| Create a link | POST /api/core/lti/1p3/provider/lti-mentors/ with the name, the agent and platform_key, plus async_create: true -- answers 202 with { id, status: "pending" } |
| Edit / Retry a link | PUT …/lti-mentors/{id}/; Retry deletes the failed link and creates it again |
| Keys | GET / POST (name) on /api/core/lti/1p3/provider/lti-keys/; PUT / DELETE on …/lti-keys/{id}/ |
| Tools | GET / POST on /api/core/lti/1p3/provider/lti-tools/; PUT on …/lti-tools/{id}/, with launch_gate (the tab sends { "allow_all_within_org": true }) |
| Tool Endpoints | Read-only: {lmsDomain}/lti/1p3/launch/, …/login/, …/deep-linking/launch/, …/pub/orgs/{org code}/jwks/ |
Single-item GET, PUT and DELETE exist only on the {id}/ routes.
Every call needs platform_key: in the query on GET and DELETE, in the
body on POST and PUT. Tools also require launch_gate. The tab asks for
page_size=10, but the API forwards only the organization and the agent to
the LMS, so pages follow the LMS's own defaults.
Platform data
| Hook | Purpose |
useGetMentorSettingsQuery / useEditMentorMutation | The switch |
useGetLtiMentorsQuery, useCreateLtiMentorMutation, useUpdateLtiMentorMutation, useDeleteLtiMentorMutation, useGetLtiMentorDetailQuery | The agent's link (poll the detail until ready or failed) |
useGetLtiKeysQuery, useCreateLtiKeyMutation, useUpdateLtiKeyMutation, useDeleteLtiKeyMutation | Keys |
useGetLtiToolsQuery, useCreateLtiToolMutation, useUpdateLtiToolMutation | Tools |
useGetPlatformInfoQuery | The organization code for the JWKS URL |
All from @iblai/iblai-js/data-layer, with the LtiAgentLink and
LtiAgentLinkStatus types. There is no iblai-api-* REST twin for LTI
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>/ltiin the browser as/iblai-vibe-ops-testsays, signed in as an org admin: the switch and four sub-tabs render, and Tool Endpoints shows fullhttps://URLs on your LMS host; read the console; check the phone width.
Important Notes
- Keys and Tools are organization-wide: changing them here changes them for every agent. Only the link is per agent.
- Link creation is slow: it builds an LMS course in the background; wait for Ready before sharing the Target Link URI.
- Delete order: remove or re-key a tool before deleting its key.
- LTI tools are not agent tools: the Tools sub-tab holds the
organization's LMS registrations. The agent settings have had no Tools tab
since
@iblai/iblai-js3.0.0; each capability has its own switch in one of the remaining tabs (/iblai-vibe-agent-tool). - 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.

