[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-f5441ed2":3,"seo:featured-workflow:f5441ed2-4eca-11f1-9bc6-00163e2b0d79:es":83,"workflow-related-asset-f5441ed2-f5441ed2-4eca-11f1-9bc6-00163e2b0d79":84},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":12,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":29,"asset_kind":30,"target_tools":31,"install_mode":35,"entrypoint":19,"risk_profile":36,"dependencies":38,"verification":43,"agent_metadata":46,"agent_fit":59,"trust":71,"provenance":80,"created_at":82,"updated_at":82},3614,"f5441ed2-4eca-11f1-9bc6-00163e2b0d79","asset-f5441ed2","PgHero — Performance Dashboard for PostgreSQL","PgHero is an open-source web dashboard that gives you instant visibility into PostgreSQL performance, including slow queries, missing indexes, unused indexes, and connection stats.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot","https:\u002F\u002Ftokrepo.com\u002Fapple-touch-icon.png",0,"","en",[16],{"id":17,"step_order":18,"title":19,"description":13,"prompt_template":20,"variables":13,"depends_on":21,"expected_output":13},4174,1,"PgHero Postgres Dashboard","# PgHero — Performance Dashboard for PostgreSQL\n\n## Quick Use\n```bash\n# Docker quickstart\ndocker run -ti -e DATABASE_URL=postgres:\u002F\u002Fuser:pass@host:5432\u002Fdbname -p 8080:8080 ankane\u002Fpghero\n\n# Or as a Rails engine\n# Gemfile: gem \"pghero\"\n# routes.rb: mount PgHero::Engine, at: \"pghero\"\n```\n\n## Introduction\nPgHero surfaces the performance data that PostgreSQL already collects but buries in system views. It turns pg_stat_statements, index usage stats, and connection metrics into a clean web dashboard that helps you find and fix database bottlenecks quickly.\n\n## What PgHero Does\n- Ranks queries by total time, calls, and average duration from pg_stat_statements\n- Identifies missing indexes by analyzing sequential scans on large tables\n- Detects unused and duplicate indexes that waste disk and slow writes\n- Monitors active connections, long-running queries, and replication lag\n- Provides space usage breakdowns per table and index\n\n## Architecture Overview\nPgHero is a Ruby application (usable as a standalone Docker image or a mountable Rails engine) that reads directly from PostgreSQL system catalogs and pg_stat_statements. It requires no additional agents or extensions beyond pg_stat_statements, which ships with PostgreSQL. The dashboard is read-only and adds negligible load.\n\n## Self-Hosting & Configuration\n- Enable pg_stat_statements in postgresql.conf (shared_preload_libraries)\n- Set DATABASE_URL as an environment variable pointing to your PostgreSQL instance\n- Deploy via Docker, Linux packages, or embed as a Rails engine\n- Supports monitoring multiple databases from a single dashboard\n- Optional basic auth or integration with your application's authentication\n\n## Key Features\n- Zero-agent setup — reads from built-in PostgreSQL stats views\n- Query analysis with suggested indexes for the slowest queries\n- Automatic detection of index bloat, unused indexes, and duplicates\n- Connection and replication monitoring out of the box\n- Supports PostgreSQL, Amazon RDS, and Aurora\n\n## Comparison with Similar Tools\n- **pgAdmin** — general-purpose admin tool; PgHero focuses specifically on performance insights\n- **pg_stat_monitor (Percona)** — enhanced stats extension; PgHero provides a web UI on top of standard pg_stat_statements\n- **Datadog\u002FNew Relic** — commercial APM with deep Postgres integration; PgHero is free and self-hosted\n- **pganalyze** — commercial SaaS for query optimization; PgHero covers core use cases at no cost\n\n## FAQ\n**Q: Does PgHero modify my database?**\nA: No. It only reads from system views and pg_stat_statements. It never modifies data or schema.\n\n**Q: Can I monitor Amazon RDS instances?**\nA: Yes. Enable pg_stat_statements via an RDS parameter group and point PgHero at the RDS endpoint.\n\n**Q: Does it support PostgreSQL on all versions?**\nA: PgHero supports PostgreSQL 10 and newer.\n\n**Q: Can I use it without Ruby or Rails?**\nA: Yes. The Docker image runs standalone with no Ruby knowledge required.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fankane\u002Fpghero\n- https:\u002F\u002Fgithub.com\u002Fankane\u002Fpghero\u002Fblob\u002Fmaster\u002Fguides\u002FDocker.md","0",[23],{"id":24,"name":25,"slug":26,"icon":27},11,"Scripts","script","📜",false,"ced4d4ca48a33070d6fb6edbb78df61f86cb318d41202a093f7590aa65a890d8","skill",[32,33,34],"claude_code","codex","gemini_cli","single",{"executes_code":28,"modifies_global_config":28,"requires_secrets":37,"uses_absolute_paths":28,"network_access":28},[],{"npm":39,"pip":40,"brew":41,"system":42},[],[],[],[],{"commands":44,"expected_files":45},[],[19],{"asset_kind":30,"target_tools":47,"install_mode":35,"entrypoint":19,"risk_profile":48,"dependencies":50,"content_hash":29,"verification":55,"inferred":58},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":49,"uses_absolute_paths":28,"network_access":28},[],{"npm":51,"pip":52,"brew":53,"system":54},[],[],[],[],{"commands":56,"expected_files":57},[],[19],true,{"target":33,"score":60,"status":61,"policy":62,"why":63,"asset_kind":30,"install_mode":35},98,"native","allow",[64,65,66,67,68,69,70],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":29,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":74,"review_status":75,"signals":76},"established","hash_only",[],"unreviewed",[77,78,79],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":81,"content_hash":29,"visibility":18,"created_at":82,"updated_at":82},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-f5441ed2","2026-05-13 20:55:03",null,[85,138,185,232],{"id":86,"uuid":87,"slug":88,"title":89,"description":90,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":91,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":92,"tags":93,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":95,"asset_kind":30,"target_tools":96,"install_mode":35,"entrypoint":97,"risk_profile":98,"dependencies":100,"verification":105,"agent_metadata":108,"agent_fit":120,"trust":122,"provenance":126,"created_at":128,"updated_at":129,"__relatedScore":130,"__relatedReasons":131,"__sharedTags":136},1731,"e82fd36c-3b41-11f1-9bc6-00163e2b0d79","databasus-self-hosted-database-backup-tool-web-dashboard-e82fd36c","Databasus — Self-Hosted Database Backup Tool with Web Dashboard","An open-source database backup tool supporting PostgreSQL, MySQL\u002FMariaDB, and MongoDB. Provides scheduled backups, S3-compatible storage, encryption, and a clean web UI for managing backup jobs.",130,[],[94],{"id":24,"name":25,"slug":26,"icon":27},"b5f92f18367fa03390cb9160993c8186114d06513a88988d9b26976e48fcc960",[32,33,34],"Databasus",{"executes_code":28,"modifies_global_config":28,"requires_secrets":99,"uses_absolute_paths":28,"network_access":28},[],{"npm":101,"pip":102,"brew":103,"system":104},[],[],[],[],{"commands":106,"expected_files":107},[],[97],{"asset_kind":30,"target_tools":109,"install_mode":35,"entrypoint":97,"risk_profile":110,"dependencies":112,"content_hash":95,"verification":117},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":111,"uses_absolute_paths":28,"network_access":28},[],{"npm":113,"pip":114,"brew":115,"system":116},[],[],[],[],{"commands":118,"expected_files":119},[],[97],{"target":33,"score":60,"status":61,"policy":62,"why":121,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":95,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":123,"review_status":75,"signals":124},[],[125,77,78,79],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":127,"content_hash":95,"visibility":18,"created_at":128,"updated_at":129},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fdatabasus-self-hosted-database-backup-tool-web-dashboard-e82fd36c","2026-04-19 00:16:07","2026-05-13 09:07:05",95.17590694348365,[132,133,134,135],"topic-match","same-kind","same-target","same-author",[26,137],"scripts",{"id":139,"uuid":140,"slug":141,"title":142,"description":143,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":144,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":145,"tags":146,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":148,"asset_kind":30,"target_tools":149,"install_mode":35,"entrypoint":150,"risk_profile":151,"dependencies":153,"verification":158,"agent_metadata":161,"agent_fit":173,"trust":175,"provenance":178,"created_at":180,"updated_at":181,"__relatedScore":182,"__relatedReasons":183,"__sharedTags":184},2340,"ac7ff133-4384-11f1-9bc6-00163e2b0d79","lighthouse-automated-web-performance-auditing-google-ac7ff133","Lighthouse — Automated Web Performance Auditing by Google","An open-source tool by Google that audits web pages for performance, accessibility, SEO, and best practices, available in Chrome DevTools, as a CLI, and as a Node module.",134,[],[147],{"id":24,"name":25,"slug":26,"icon":27},"1286c7f9c1dbeec8bb6e44a34ffee1d14dce61a8be24abbbcfdde852cdf1a696",[32,33,34],"Lighthouse",{"executes_code":28,"modifies_global_config":28,"requires_secrets":152,"uses_absolute_paths":28,"network_access":28},[],{"npm":154,"pip":155,"brew":156,"system":157},[],[],[],[],{"commands":159,"expected_files":160},[],[150],{"asset_kind":30,"target_tools":162,"install_mode":35,"entrypoint":150,"risk_profile":163,"dependencies":165,"content_hash":148,"verification":170},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":164,"uses_absolute_paths":28,"network_access":28},[],{"npm":166,"pip":167,"brew":168,"system":169},[],[],[],[],{"commands":171,"expected_files":172},[],[150],{"target":33,"score":60,"status":61,"policy":62,"why":174,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":148,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":176,"review_status":75,"signals":177},[],[125,77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":179,"content_hash":148,"visibility":18,"created_at":180,"updated_at":181},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Flighthouse-automated-web-performance-auditing-google-ac7ff133","2026-04-29 12:34:13","2026-05-14 02:14:12",92.19550065274251,[132,133,134,135],[26,137],{"id":186,"uuid":187,"slug":188,"title":189,"description":190,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":191,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":192,"tags":193,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":195,"asset_kind":30,"target_tools":196,"install_mode":35,"entrypoint":197,"risk_profile":198,"dependencies":200,"verification":205,"agent_metadata":208,"agent_fit":220,"trust":222,"provenance":225,"created_at":227,"updated_at":228,"__relatedScore":229,"__relatedReasons":230,"__sharedTags":231},1858,"326d64af-3cf6-11f1-9bc6-00163e2b0d79","memcached-high-performance-distributed-memory-caching-system-326d64af","Memcached — High-Performance Distributed Memory Caching System","Memcached is a free, open-source, high-performance distributed memory object caching system used to speed up dynamic web applications by reducing database load.",71,[],[194],{"id":24,"name":25,"slug":26,"icon":27},"79675fb14931f6e26630822a65951cc3b1bb589b688d883f1529d831ab7affb7",[32,33,34],"Memcached Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":199,"uses_absolute_paths":28,"network_access":28},[],{"npm":201,"pip":202,"brew":203,"system":204},[],[],[],[],{"commands":206,"expected_files":207},[],[197],{"asset_kind":30,"target_tools":209,"install_mode":35,"entrypoint":197,"risk_profile":210,"dependencies":212,"content_hash":195,"verification":217},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":211,"uses_absolute_paths":28,"network_access":28},[],{"npm":213,"pip":214,"brew":215,"system":216},[],[],[],[],{"commands":218,"expected_files":219},[],[197],{"target":33,"score":60,"status":61,"policy":62,"why":221,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":195,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":223,"review_status":75,"signals":224},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":226,"content_hash":195,"visibility":18,"created_at":227,"updated_at":228},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fmemcached-high-performance-distributed-memory-caching-system-326d64af","2026-04-21 04:19:13","2026-05-13 04:20:19",91.7859987446469,[132,133,134,135],[26,137],{"id":233,"uuid":234,"slug":235,"title":236,"description":237,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":238,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":239,"tags":240,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":242,"asset_kind":30,"target_tools":243,"install_mode":35,"entrypoint":244,"risk_profile":245,"dependencies":247,"verification":252,"agent_metadata":255,"agent_fit":267,"trust":269,"provenance":272,"created_at":274,"updated_at":275,"__relatedScore":276,"__relatedReasons":277,"__sharedTags":278},2713,"12f28c8d-48e2-11f1-9bc6-00163e2b0d79","asset-12f28c8d","UpSnap — Self-Hosted Wake-on-LAN Web Dashboard","A simple, self-hosted Wake-on-LAN web application built with SvelteKit and Go that lets you power on, monitor, and manage networked devices from a clean dashboard.",69,[],[241],{"id":24,"name":25,"slug":26,"icon":27},"1ca95c703806a35f2bddb4098ff2addaff11a1ed72918e1585d265438ac1418f",[32,33,34],"UpSnap WoL",{"executes_code":28,"modifies_global_config":28,"requires_secrets":246,"uses_absolute_paths":28,"network_access":28},[],{"npm":248,"pip":249,"brew":250,"system":251},[],[],[],[],{"commands":253,"expected_files":254},[],[244],{"asset_kind":30,"target_tools":256,"install_mode":35,"entrypoint":244,"risk_profile":257,"dependencies":259,"content_hash":242,"verification":264},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":258,"uses_absolute_paths":28,"network_access":28},[],{"npm":260,"pip":261,"brew":262,"system":263},[],[],[],[],{"commands":265,"expected_files":266},[],[244],{"target":33,"score":60,"status":61,"policy":62,"why":268,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":242,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":270,"review_status":75,"signals":271},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":273,"content_hash":242,"visibility":18,"created_at":274,"updated_at":275},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-12f28c8d","2026-05-06 08:25:24","2026-05-13 23:29:52",88.76764706002139,[132,133,134,135],[26,137]]