agent-profile-narrows-visible-ui

agent-profile-narrows-visible-ui is an agent for coding agents from microsoft/BCQuality. It costs 0 tokens per session (269 once invoked), scanned A, original, MIT.

An agent profile design rule that limits the pages, actions, views, and dashboard links visible to an agent.

In plain words
What is it for?
It helps create dedicated profiles, hide unrelated interface elements, add useful links, and detect when broad human-user profiles are assigned to agents.
Why use it?
It reduces irrelevant tools and instructions, which can make an agent less accurate and increase the amount of context it must process.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/microsoft/bcquality/agent-profile-narrows-visible-ui
Clone the repo
git clone --depth 1 https://github.com/microsoft/BCQuality

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-profile-narrows-visible-ui

README.md
[![agentmods](https://agentmods.dev/badge/agents/microsoft/bcquality/agent-profile-narrows-visible-ui.svg)](https://agentmods.dev/agents/microsoft/bcquality/agent-profile-narrows-visible-ui)
Your own site
<a href="https://agentmods.dev/agents/microsoft/bcquality/agent-profile-narrows-visible-ui"><img src="https://agentmods.dev/badge/agents/microsoft/bcquality/agent-profile-narrows-visible-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 269 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00269
Opus 5 $0.00000 $0.00134
Sonnet 5 $0.00000 $0.00054
Haiku 4.5 $0.00000 $0.00027

Measured yesterday against content hash 40cf878af98c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-profile-narrows-visible-ui scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

community/knowledge/agents/agent-profile-narrows-visible-ui.md · 31 lines

What it actually says

Give the agent a dedicated profile that hides unrelated UI

Description

The agent only sees what its profile shows. Extra actions, views, and Role Center tiles become extra tools and extra tokens. Accuracy and cost both get worse as the UI widens. A human Order Processor profile is usually far too broad. Tooltips on the remaining actions are part of the tool description.

Best Practice

Ship an agent-specific profile and page customizations: hide unrelated actions, keep descriptive tooltips, add Role Center links to the few pages the agent should open. Prefer fewer navigation hops.

See sample: agent-profile-narrows-visible-ui.good.al.

Anti Pattern

Assigning BUSINESS MANAGER or ORDER PROCESSOR as GetDefaultProfile so the agent can do anything. Detection signal: default profile equal to a full-user role with no agent page customizations.

See sample: agent-profile-narrows-visible-ui.bad.al.

See also

get-default-profile-lives-in-the-app.md covers packaging and assigning the profile that this rule narrows.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 31 lines · 0 tokens per session scan A 40cf878af98c

Subscribe to this mod's changes

agent-profile-narrows-visible-ui is an agent published in the GitHub repository microsoft/BCQuality (204 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 269 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.