service-management-log-analysis
Skill1 starsChanged 3 months agoMITView on GitHub
Project-specific service management log query and analysis for FlowMind. Use only for the configured service management project when users ask to query 服务管理日志, 商户后台日志, 管理后台服务 logs, resource names, operation content, logged-browser-session queries, or analysis of operation log data from the service management console.
In this repository30 other files it gives its agents.
- api-syncSkill
- archive-changeSkill
- auto-flowSkill
- build-reportSkill
- change-impact-reviewSkill
- code-review-auditSkill
- code-reviewSkill
- coverage-reportSkill
- data-logic-validationSkill
- data-risk-auditSkill
- data-validationSkill
- dingtalk-notifySkill
- git-reviewSkill
- knowledge-opsSkill
- learning-engineSkill
- learning-feedbackSkill
- log-auditSkill
- offline-design-analysisSkill
- project-reviewSkill
- release-inspectionSkill
- report-insightsSkill
- requirement-analystSkill
- resource-bindSkill
- service-governance-auditSkill
- service-governance-changeSkill
- service-governance-diagnosisSkill
- sls-log-auditSkill
- test-reportSkill
- yapi-sync-interfaceSkill
- yuque-sync-designSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Keep this skill project-specific.
- Distinctive: line 18
Treat browser automation as read-only: open the log page, fill filters, run queries, read rows/details, and export structured evidence.
- Distinctive: line 19
Prefer the page's authenticated query API when it is configured and uses the same logged-in browser credentials.
- Distinctive: line 26
If a browser/API executor is available in context, execute the query against the configured page or API.
- Very specific: line 29
When enrichment is configured, resolve entity IDs found in request/response params to readable names via the configured MCP data sources …
- Distinctive: line 44
Read references/config.md when adding or updating the project target page, selectors, or authenticated API settings.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Service Management Log Analysis
Query and analyze the configured service management project's operation logs from an already authenticated browser session or from the same authenticated API used by that page.
Scope
- Keep this skill project-specific. Do not reuse it for generic SLS logs, database logs, or unrelated admin consoles.
- Reuse an existing browser login state. Never bypass authentication, automate CAPTCHA, store passwords, or hard-code long-lived tokens.
- Treat browser automation as read-only: open the log page, fill filters, run queries, read rows/details, and export structured evidence.
- Prefer the page's authenticated query API when it is configured and uses the same logged-in browser credentials. Use DOM selectors as the fallback.
Workflow
- Resolve the target source:
商户后台日志or管理后台服务. - Parse user-provided filters such as time range, resource name, operation content, operator, account ID, IP, request path, and limit.
- Load target configuration from
skillConfig.skills.service-management-log-analysis. - If a browser/API executor is available in context, execute the query against the configured page or API.
- Parse row fields, especially
资源名称and操作内容, plus request/response detail fields when available. - Analyze record counts, resource distribution, operation distribution, actor/IP distribution, suspicious records, and missing-detail risk.
- When
enrichmentis configured, resolve entity IDs found in request/response params to readable names via the configured MCP data sources (DMS/SLS) and build a customer-service readable report (csReport) with product names, status-change tokens, and activity details. - Return structured evidence and next actions. If configuration or executor is missing, return the exact read-only query plan and required configuration.
Trigger Patterns
"服务管理日志", "服务管理日志查询", "服务管理日志分析"
"商户后台日志", "管理后台服务"
"资源名称", "操作内容"
"从浏览器登录后查询", "已登录浏览器", "浏览器登录态"
"后台操作日志", "服务管理操作日志"Configuration
Read references/config.md when adding or updating the project target page, selectors, or authenticated API settings.
Minimal skill config shape:
{
"skillConfig": {
"skills": {
"service-management-log-analysis": {
"project": "service-management",
"defaultTarget": "merchantLog",
"targets": {
"merchantLog": {
"label": "商户后台日志",
"url": "https://your-service-management-host/#/merchant-log-route",
"selectors": {}
},
"adminLog": {
"label": "管理后台服务",
"url": "https://your-service-management-host/#/admin-service-log-route",
"selectors": {}
}
}
}
}
}
}Executor Contract
This skill can run with an injected read-only executor:
context.serviceManagementLogClient.queryLogs({
target,
params,
mode: "api" | "dom"
})It can also call the local FlowMind browser bridge when configured:
{
"browserBridge": {
"enabled": true,
"url": "http://127.0.0.1:47631",
"token": "paste-token-from-flowmind-browser-bridge"
}
}The executor should return:
{
"records": [
{
"resourceName": "POI管理",
"operationContent": "编辑门店",
"operator": "张三",
"accountId": "10001",
"operationDate": "2026-08-14 10:20:00",
"requestPath": "/api/poi/update",
"requestParams": {},
"responseParams": {},
"ip": "10.0.0.1",
"linkIp": "10.0.0.2"
}
],
"pageInfo": {
"total": 1,
"pages": 1
}
}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.

