rest-to-database-app

rest-to-database-app is a skill for Claude Code from TIBCOSoftware/flogo-enterprise-hub. It costs 26 tokens per session (2,504 once invoked), scanned A, original, Apache-2.0.

A step-by-step guide for building a Flogo REST API that queries a database and returns the result. A REST API lets other programs communicate with an application over HTTP.

In plain words
What is it for?
Use it to create an HTTP endpoint, connect it to MySQL, PostgreSQL, SQL Server, or Oracle, run a query, log the activity, and send a reply.
Why use it?
It records the correct Flogo commands, activity types, database connections, and connection settings needed to avoid targeting the wrong project or wiring the app incorrectly.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to create an HTTP endpoint, connect it to MySQL, PostgreSQL, SQL Server, or Oracle, run a query, log the activity, and send a reply.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app
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.

Any agent
npx skills add TIBCOSoftware/flogo-enterprise-hub --skill rest-to-database-app
Clone the repo
git clone --depth 1 https://github.com/TIBCOSoftware/flogo-enterprise-hub

Made for: Claude Code.

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 rest-to-database-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app/github.svg)](https://agentmods.dev/skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app)
Your own site
<a href="https://agentmods.dev/skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app"><img src="https://agentmods.dev/badge/skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rest-to-database-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app"><img src="https://agentmods.dev/badge/skills/tibcosoftware/flogo-enterprise-hub/rest-to-database-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.1 $0.00026 $0.02504
Opus 5 $0.00013 $0.01252
Sonnet 5 $0.00005 $0.00501
Haiku 4.5 $0.00003 $0.00250

Measured 12d ago against content hash 70d74b3bd3cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rest-to-database-app 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 12d 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.

skills-library/.claude/skills/rest-to-database-app/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Key Facts (verified)

  • Always run fda commands from your Flogo apps directory (e.g. ./Flogo_Apps/)
  • Always use the -f <filename>.flogo flag on every fda command to target the correct file — if omitted, fda defaults to flogo-project.flogo and will error if that file already exists or is not the intended target
  • REST trigger type: tr_rest — exposes HTTP endpoints (default port 9999)
  • Log activity type: act_general_log
  • Reply activity type: act_general_reply
  • Database query activity types: act_mysql_query, act_postgresql_query, act_sqlserver_query, act_oracledatabase_query
  • Database connection types: con_mysql (MySQL), con_postgresql (PostgreSQL), con_sqlserver (SQLServer), con_oracledb (Oracle)
  • Activities are automatically linked in sequence when added (no need to call create-link)
  • The --connection flag on create-activity links the activity to a named connection — this sets settings.connection on the activity (the input.Connection field is left empty and is unused)
  • When a connection is created, its settings are automatically pre-wired to application properties (e.g. $property["MySQL.<ConnectionName>.Host"]). Set those properties to configure the actual DB credentials — do NOT set connection.settings.* directly
  • Flow input parameters must be declared in flow.metadata.input before they can be referenced as $flow.<param>
  • Trigger handler input mapping (action.input) is how path/query params flow from the trigger into the flow
  • set-attribute for handler mappings uses --jsonValue for object values
  • Always call format-flow at the end to lay out the canvas properly

Step 1: Create project and database connection

Run all commands from your Flogo apps directory. Use -f <filename>.flogo on every command to target the correct file.

fda -f <filename>.flogo create-project <AppName> "<App description>"

# Choose the connection type that matches the target database
fda -f <filename>.flogo create-connection <ConnectionName> MySQL        # or PostgreSQL, SQLServer, oracledb

Read the full file on GitHub · 222 lines

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. 12d ago First seen · 222 lines · 26 tokens per session scan A 70d74b3bd3cd

Subscribe to this mod's changes

rest-to-database-app is a skill published in the GitHub repository TIBCOSoftware/flogo-enterprise-hub (14 stars, last pushed 3d ago), licensed Apache-2.0. It adds 26 tokens to every session and 2,504 once invoked, about $0.0001 per session on Opus 5. 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.

Related

Other skills, from other repositories

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

cqrs-implementation

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

wshobson/agents · 35 tokens

nw-ddd-eventsourcing

Event Sourcing and CQRS as DDD implementation patterns — when to use, aggregate event streams, projections, snapshots, sagas, upcasting, conflict resolution.

nWave-ai/nWave · 38 tokens

nw-sd-patterns

Core distributed systems patterns - load balancing, caching, sharding, consistent hashing, message queues, rate limiting, CDN, Bloom filters, ID generation, replication, conflict resolution, CAP theorem.

nWave-ai/nWave · 43 tokens

firebase

Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at 1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that…

ericrisco/rsc-harness · 77 tokens

notion-connector

Use when wiring server code or a cron job to Notion as an ops backend over its HTTP API: pushing or mirroring database rows, two-way sync without duplicates, page blocks, or an integration broken by the 2025-09-03 data-source split. NOT generic REST wiring (that is api-connector-builder), NOT inbound Notion webhook…

ericrisco/rsc-harness · 86 tokens