servicenow-da-itsm
Skill32 starsChanged 7 months agoMITView on GitHub
This provider uses the shared connect lifecycle. It supports only the exact chooser-selected editable Employee Self-Service (IT) agent and does not use the retained Preview ServiceNow state or steps. One lifecycle instance serves one IT agent/profile only. It may read the exact HRSD lifecycle solely for maker-confirmed compatible shared-configuration discovery; it never migrates, merges, or copies the HRSD lifecycle or its agent-scoped evidence. The lifecycle is Actions-only and supports only Microsoft Entra ID User Login (entraIDUserLogin). Knowledge/Graph Connector retrieval, certificate/App…
In this repository54 other files it gives its agents.
- dev-specs/ess-nextgen-migration-toolkit/AGENTS.mdAGENTS.md
- samples/AGENTS.mdAGENTS.md
- solutions/ess-maker-skills/scripts/flightcheck/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- tools/ess-nextgen-migration-toolkit/AGENTS.mdAGENTS.md
- dev-specs/ess-nextgen-migration-toolkit/CLAUDE.mdCLAUDE.md
- tools/ess-nextgen-migration-toolkit/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- solutions/ess-maker-skills/.github/copilot-instructions.mdCopilot instructions
- create-or-update-sample-topicSkill
- prepare-sample-prSkill
- triage-sample-issueSkill
- validate-sample-topicSkill
- plannerSkill
- rolesSkill
- setupSkill
- agent-basicsSkill
- analyticsSkill
- backup-template-configsSkill
- cleanupSkill
- servicenow-da-hrsdSkill
- servicenow-daSkill
- connectSkill
- workdaySkill
- discoverSkill
- createSkill
- deleteSkill
- dispatcherSkill
- generateSkill
- reviewSkill
- runSkill
- updateSkill
- validateSkill
- flightcheckSkill
- foundation-setupSkill
- landing-page-configSkill
- manage-topicsSkill
- org-announcementsSkill
- plannerSkill
- restore-template-configsSkill
- rolesSkill
- create-eval-drivenSkill
- createSkill
- deleteSkill
- reviewSkill
- testSkill
- update-eval-drivenSkill
- updateSkill
- troubleshootSkill
- createSkill
- deleteSkill
- testSkill
- updateSkill
- ESS-Diagnostics-SkillsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 70
Use the invocation-local SELECTED_AGENT_SLUG and SELECTED_AGENT_ID supplied by the ServiceNow DA chooser.
- Very specific: line 80
Never jump directly from a result to another checkpoint or infer that actionApplied skips an incomplete provider action.
- Distinctive: line 120
Topics and Portal: After the connection check passes, Connect reads the topic states for Maker review and saves only approved changes.
- Distinctive: line 129
Dev Test: After topic and portal configuration is complete, the Maker runs the HRSD or ITSM scenario in the agent’s Test pane using …
- Distinctive: line 142
Only report the integration connected after the runner completes all eight ITSM phases.
≈ “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
Connect ServiceNow ITSM to the DA IT agent
This provider uses the shared connect lifecycle. It supports only the exact chooser-selected editable Employee Self-Service (IT) agent and does not use the retained Preview ServiceNow state or steps. One lifecycle instance serves one IT agent/profile only. It may read the exact HRSD lifecycle solely for maker-confirmed compatible shared-configuration discovery; it never migrates, merges, or copies the HRSD lifecycle or its agent-scoped evidence.
The lifecycle is Actions-only and supports only Microsoft Entra ID User Login
(entraIDUserLogin). Knowledge/Graph Connector retrieval, certificate/App B,
PFX, Basic/OAuth2, Dataverse connections/references, and cloud flows remain
out of scope. The IT Setup Configurations topic's Portal Base URI is in scope:
the skill may update
that exact authored node through the native component API only with an
administrator-supplied full portal URL and guarded rollback, or guide the same
manual edit when the API path is unavailable. Admin prerequisites are always guided: the skill
may discover and verify with read-only APIs, but never creates or patches an
Entra application or ServiceNow OIDC/security object.
The checked-in HRSD rev6 runbook is the shared implementation baseline. The
user-provided DA ServiceNow review source confirms that the ITSM topics are
already included in the IT agent and that customer-facing Employee
Self-Service uses delegated Microsoft Entra ID User Login. The HR-only Core
gate has separate historical design evidence: Draft PR #217 commit
e9550ddd adds the gate in
the retired ServiceNow setup capture guide with the explicit
condition scope.hrsd == true; the older reference update f3bdf293 records
that com.sn_hr_core supplies sn_hr_core_case and other HRSD tables.
Together these support omitting that HRSD data prerequisite from this
IT-only lifecycle. They do not prove that every current ITSM/OIDC instance
needs no ServiceNow plugin or capability; the OIDC phase still stops when the
tenant lacks the required OIDC capability.
The current authenticated review-site revision was not freshly fetched; do
not invent additional requirements from the review URL. For Entra access tokens, do not assume UPN or email. The Entra administrator
returns exactly one selected employee-identity claim name plus the Application
(client) ID through source-faithful direct capture. aud may be
configured for audience validation but is never accepted as that selected
user-matching claim. The ServiceNow direct handoff uses the same bound values
and leaves only the actual matching sys_user field for the ServiceNow
administrator to confirm. Connect never guesses, defaults, or manually
recopies the claim.
The approved manual runbook also
covers Broadly scoped ServiceNow scope
restriction, non-email custom user identifiers, and safe coexistence with a
separate Graph Connector app-only configuration.
Discover the current package inventory from the exact selected Agent's
authoritative component fetch. Treat a component as an ITSM topic only when it
is a DialogComponent with a dialog payload and its schema is under
{exact IT agent schema}.topic.ServiceNowITSM.... The discovered positive
inventory is the package inventory for this invocation; do not require a
fixed topic count or a checked-in list of expected topic names. New package
revisions and subsets are valid. Never include generic Agent topics, the HRSD
namespace, or non-topic components merely because a name contains
ServiceNowITSM.
The named ServiceNowITSMSetupConfigurations topic remains the exact portal
configuration target when that later operation runs. Its specific lookup does
not make it a blanket package-completeness requirement.
Secondary help references:
- Draft PR #217
- Microsoft Learn: ServiceNow for Employee Self-Service
- ServiceNow connector actions
- ServiceNow connector known issues
Use the invocation-local SELECTED_AGENT_SLUG and SELECTED_AGENT_ID supplied
by the ServiceNow DA chooser. Then read
src/skills/connect/shared/lifecycle-runner.md and follow it with:
PROVIDER = "servicenow-da-itsm"
AGENT_SLUG = SELECTED_AGENT_SLUGThe shared runner's connect_lifecycle.py next-step command is mandatory.
Never jump directly from a result to another checkpoint or infer that
actionApplied skips an incomplete provider action.
STOP — render before acting. After every resume-handoff or record-checkpoint-results, your very next assistant message — before any other tool call — must contain renderBlock.text verbatim (the setup checklist; it already ends with the current step line). renderBlock.text is the only renderable field: never render anything under internal, never write your own checklist, and never add a Check/Status table. Never summarize it or write "render the plan" instead. Every turn that shows a step update must include the latest renderBlock.text verbatim; it is returned every time and never deduplicated, so never skip it or reuse an older copy. At the start of a fresh run renderBlock.text begins with the connection opening ("We'll connect ... so employees can ...", or "We'll add ..." when another ESS agent in the same environment already has shared sign-in setup); emit it verbatim as part of the same message, and never write your own opening or repeat it later. The Test-pane ready message in the current-task lead-in is controller-built: show it verbatim and never reword it, and when record-test --result untested or --result empty returns message, show that message verbatim (for empty, nothing is recorded and the Test step stays open; ask the result question again) and never claim the integration works.
Hard rules. Read src/skills/connect/shared/lifecycle-runner.md before the first action. When resume-handoff returns renderBlock, emit renderBlock.text verbatim as an assistant message; terminal output does not count. Never edit lifecycle.json by hand; record results with record-checkpoint-results. Run every command with the launcher resolved by /setup (py -3, python3, then python), never assuming bare python.
Render the ServiceNow resume-handoff.progress checklist and current-step
updates exactly as the shared runner specifies; do not suppress them under
the ordinary Message-block silence rule.
Existing sign-in setup. When the maker said the organization already uses ServiceNow Knowledge, single sign-on, or the Microsoft Graph connector, the first resume-handoff must carry --existing knowledge (or sso, graph). Its renderBlock.text then starts with the fixed compatibility opening; send it verbatim, never write it yourself, never inspect existing Entra or OIDC configuration, and never skip the administrator handoffs because Knowledge already works.
More than one agent. A request naming both ESS agents or all of them (for example "Check HR and IT in Prod") is answered only by validation-notice --situation multi-agent: send chatMessage verbatim with no preamble or trailer, end the turn, start no run, and record nothing. This is the first action, before any capability emit, realm-status, preflight, or checklist.
On every first run and resume, show the controller's flat setup checklist
(renderBlock.text) as an ordinary response. Preflight and
instance input run without an availability question. When the controller
enters Entra identity, ServiceNow SSO/user mapping, or Maker configuration,
ask only that group's returned Yes/No question. A No answer loops in that role
and repeats the same question without advancing state. A Yes acknowledgement
applies only to that group. Availability never proves authentication,
authorization, permission, admin evidence, binding, mutation consent, or Test
completion.
The runner loads
src/skills/connect/servicenow-da-itsm/contract.json, persists state at
.local/connect/servicenow-da-itsm/agents/{AGENT_SLUG}/lifecycle.json, and
live-reverifies every phase. The connection and the agent's saved binding are
verified together by ADK; Test pane results remain maker-confirmed evidence; topic mutation requires explicit confirmation.
Publishing is outside ServiceNow Connect. Parameter-sharing is not a
standalone lifecycle phase; legacy
evidence is retained only as historical state and never treated as proof that
the direct connector-action path was independently verified.
Create and connect ServiceNow: The Maker creates the ServiceNow connection from the agent's Copilot Studio Connection Settings, which also selects it for the agent, then confirms it shows Connected. FlightCheck verifies one exact healthy connection and that the agent's saved draft uses it in a single check. Connect does not enable ServiceNow topics before this check passes.
Topics and Portal: After the connection check passes, Connect reads the topic
states for Maker review and saves only approved changes. It also saves the
administrator-provided portal URL after Maker confirmation. The controller asks
for the URL as plain chat text and the agent waits for the typed reply; it does
not call a question card for the URL. The confirmation
question comes from portal-url-confirmation: show its question and
options verbatim, and save nothing before the Maker selects Yes. FlightCheck
verifies the resulting topic states and portal value.
Dev Test: After topic and portal configuration is complete, the Maker runs the HRSD or ITSM scenario in the agent’s Test pane using authorized real data. FlightCheck reviews the Maker’s reported result as Manual evidence for the final configuration. In the final report word it as "Maker-reported Test pane result"; administrator-supplied items as "Confirmed by the administrator" and Maker-supplied items as "Confirmed by the Maker". Manual means human-verified, never Passed, and never proof of business success; Passed means verified by Connect checks.
Later realms: A promoted agent in a later realm is checked on its own by
src/skills/connect/servicenow/realms.md; it does not depend on this
lifecycle.
Only report the integration connected after the runner completes all eight ITSM phases. The IT lifecycle intentionally omits the HR-only ServiceNow plugin phase. Do not add a second completion message.
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.

