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.
npx agentmods add rules/opendcai/dataflow-webui/frontend-vuegit clone --depth 1 https://github.com/OpenDCAI/DataFlow-WebUIWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01905 |
| Opus 5 | $0.00000 | $0.00953 |
| Sonnet 5 | $0.00000 | $0.00381 |
| Haiku 4.5 | $0.00000 | $0.00191 |
Grade A, and why
frontend-vue 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 2d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DataFlow WebUI Frontend (Vue 3 + Vite)
⚠ CHANGE POLICY: Before creating any new page, route, or nav item, check
webui-change-policy.mdc. Only operator rendering fixes and missing param editors are allowed. New dashboard pages, analytics views, and feature-level UI are prohibited unless the user explicitly overrides.
Tech Stack
- Vue 3 + Vite
- Vue Router (hash history:
createWebHashHistory) - Pinia (setup-store style)
- Vue Flow (
@vue-flow/core) for pipeline DAG editor - VueFluent3 (
@creatorsn/vfluent3) for UI components - Axios for API calls (auto-generated from OpenAPI)
Two Component Styles (both are used)
| Area | Style |
|---|---|
mainFlow/nodes/, new components |
<script setup> + defineProps / defineEmits |
mainFlow/pipeline/, panels, views |
Options API: export default { props, data, computed, methods } |
Do NOT convert existing components between styles. Match the style of the file you're editing.
Router — Adding a New Manage Page
- Add route in
frontend/src/router/Manage/index.js:
{
path: 'my-page',
component: () => AsyncLoad(() => import('@/views/manage/myPage/index.vue')),
meta: { title: 'Dataflow-MyPage' }
}
- Add nav item in
frontend/src/views/manage/index.vue(navListarray):
{
key: 4,
name: () => this.local('My Page'),
icon: 'ViewDashboard',
route: '/m/my-page'
}
- Create
frontend/src/views/manage/myPage/index.vue
Note: Lazy loading uses AsyncLoad wrapper (not raw import()), defined in router/tools.js.
Vue Flow Pipeline Editor
The pipeline canvas is components/manage/mainFlow/index.vue. Key architecture:
Node Types (registered via slots)
<VueFlow v-model:nodes="thisNodes" v-model:edges="thisEdges">
<template #node-base-node="nodeProps">
<baseNode v-bind="nodeProps" />
</template>
<template #node-operator-node="nodeProps">
<operatorNode v-bind="nodeProps" @update-node-data="updateNodeData" />
</template>
<template #node-database-node="nodeProps">
<databaseNode v-bind="nodeProps" />
</template>
</VueFlow>
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.
- 2d ago First seen · 236 lines · 0 tokens per session scan A bdb2c362c5d4
frontend-vue is a cursor rule published in the GitHub repository OpenDCAI/DataFlow-WebUI (224 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,905 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-08-30.
Other cursor rules, from other repositories
svelte
Cursor rule "svelte" from chakra-ui/ark, covering exporting files and creating stories.
vue
When writing code for Vue.js, follow these rules.
svelte
Svelte best practices and patterns for modern web applications.
tailwind-v4
Standards for Tailwind CSS v4 usage in Svelte files.
vue-typescript-patterns
Cursor rule "vue-typescript-patterns" from soaring-xiongkulu/easyaiot, covering vue3 + typescript 开发规范, vue 组件规范, vue sfc 组件规范, typescript 规范 and 状态管理.
vue
Cursor rule "vue" from un-pany/v3-admin-vite, covering vue 开发规范, 代码风格, 命名, api and props.