来源信息
- 仓库
- brycewang-stanford/Auto-Empirical-Research-Skills
- 最近来源活动
- 2026年4月3日 02:07
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 3,291
- 分支
- 432
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
菜单
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills --skill redash-analytics-guide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
中英双语学术降 AIGC / bilingual academic de-AIGC skill. Removes AI-generated writing signatures from empirical papers in economics, management, and the social sciences — in both English and Chinese. Covers Turnitin AI, GPTZero, Originality.ai on the English side and 知网 AMLC, 万方, 维普 on the Chinese side. Uses a six-step loop (intake → audit → claim-evidence check → differentiated rewrite → five-dimension self-score → cold-reader recheck) with two pattern libraries (22 English + 17 Chinese patterns), section-by-section strategies for empirical papers, and hard protections that keep every number, coefficient, and citation intact.
Use when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an explicitly approved Kaggle write/delete operation through the official CLI.
| name | redash-analytics-guide |
| description | Guide to Redash for SQL-driven research data dashboards and sharing |
| metadata | {"openclaw":{"emoji":"📊","category":"analysis","subcategory":"dataviz","keywords":["Redash","SQL dashboards","data visualization","query tool","research analytics","collaborative BI"],"source":"https://github.com/getredash/redash"}} |
Redash is an open-source data visualization and dashboarding tool with over 28K stars on GitHub. It is designed for analysts and researchers who prefer writing SQL to explore and visualize data. Redash connects to virtually any data source that supports SQL or has an API, and provides a browser-based query editor with autocomplete, visualization builder, and dashboard composer.
For academic research groups, Redash offers a lightweight, self-hosted alternative to commercial BI tools. Its SQL-first approach is natural for researchers who already work with databases, and its sharing features make it straightforward to create dashboards that the entire lab can access. Unlike Metabase which emphasizes no-code exploration, Redash is specifically designed for users who are comfortable writing queries and want direct control over their data retrieval logic.
Redash supports over 35 data source types, including PostgreSQL, MySQL, SQLite, BigQuery, Elasticsearch, MongoDB, Google Sheets, CSV files, and even custom Python scripts. This versatility means researchers can build unified dashboards that pull data from multiple sources: experiment databases, survey platforms, instrument logs, and cloud storage.
# Clone the Redash setup repository
git clone https://github.com/getredash/setup.git redash-setup
cd redash-setup
# Generate configuration
./setup.sh
# Or manually configure with Docker Compose
version: "3"
services:
redash:
image: redash/redash:latest
command: server
ports:
- "5000:5000"
environment:
REDASH_DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/redash
REDASH_REDIS_URL: redis://redis:6379/0
REDASH_SECRET_KEY: ${REDASH_SECRET_KEY}
REDASH_MAIL_SERVER: smtp.university.edu
REDASH_MAIL_PORT: 587
REDASH_MAIL_USERNAME: ${MAIL_USERNAME}
REDASH_MAIL_PASSWORD: ${MAIL_PASSWORD}
depends_on:
- postgres
- redis
worker:
image: redash/redash:latest
command: worker
environment:
REDASH_DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/redash
REDASH_REDIS_URL: redis://redis:6379/0
depends_on:
- redash
scheduler:
image: redash/redash:latest
command: scheduler
environment:
-- Aggregate experiment results by condition and time period
SELECT
e.condition_name,
DATE_TRUNC('month', e.run_date) AS month,
COUNT(*) AS num_runs,
ROUND(AVG(e.primary_outcome)::NUMERIC, 4) AS mean_outcome,
ROUND(STDDEV(e.primary_outcome)::NUMERIC, 4) AS std_outcome,
ROUND(AVG(e.primary_outcome)::NUMERIC - 1.96 * STDDEV(e.primary_outcome)::NUMERIC / SQRT(COUNT(*)), 4) AS ci_lower,
ROUND(AVG(e.primary_outcome)::NUMERIC + 1.96 * STDDEV(e.primary_outcome)::NUMERIC / SQRT(COUNT(*)), 4) AS ci_upper
FROM experiments e
WHERE e.project_id = {{project_id}}
AND e.run_date >= {{start_date}}
GROUP BY e.condition_name, DATE_TRUNC('month', e.run_date)
ORDER BY month, condition_name;
The {{project_id}} and {{start_date}} syntax creates interactive parameter widgets that users can modify without editing the query.
-- Track literature search and screening progress
SELECT
r.review_name,
r.search_database,
COUNT(DISTINCT a.article_id) AS total_found,
COUNT(DISTINCT CASE WHEN s.decision = 'include' THEN a.article_id END) AS included,
COUNT(DISTINCT CASE WHEN s.decision = 'exclude' THEN a.article_id END) AS excluded,
COUNT(DISTINCT CASE WHEN s.decision IS NULL THEN a.article_id END) AS pending,
ROUND(
COUNT(DISTINCT CASE WHEN s.decision IS NOT NULL THEN a.article_id END)::NUMERIC /
NULLIF(COUNT(DISTINCT a.article_id), 0) * 100, 1
) AS screening_progress_pct
FROM systematic_reviews r
JOIN articles a ON a.review_id r.id
screening_decisions s s.article_id a.article_id
r.review_name {{review_name}}
r.review_name, r.search_database
total_found ;
-- Monitor research grant expenditures
SELECT
g.grant_name,
g.funding_agency,
g.total_budget,
SUM(t.amount) AS total_spent,
g.total_budget - SUM(t.amount) AS remaining,
ROUND(SUM(t.amount)::NUMERIC / g.total_budget * 100, 1) AS pct_spent,
g.end_date,
(g.end_date - CURRENT_DATE) AS days_remaining,
ROUND(
(g.total_budget - SUM(t.amount))::NUMERIC /
NULLIF((g.end_date - CURRENT_DATE), 0), 2
) AS daily_burn_budget
FROM grants g
JOIN transactions t ON t.grant_id = g.id
WHERE g.status = 'active'
GROUP BY g.grant_name, g.funding_agency, g.total_budget, g.end_date
ORDER BY pct_spent DESC;
Redash supports multiple visualization types that can be attached to any query result.
After running a query, click "New Visualization" and configure:
A well-designed research lab dashboard typically includes the following widgets arranged in a logical layout:
Redash dashboards support global parameters that filter all widgets simultaneously:
Dashboard Parameters:
- Project: dropdown linked to projects table
- Date Range: date range picker
- Researcher: dropdown linked to team members table
This allows a single dashboard template to serve multiple research projects.
Configure queries to run on a schedule to keep dashboards current:
Alert: "Low Sample Quality Detected"
Query: samples with quality_score < threshold in last 24h
Condition: When query returns results
Destination: Email to lab manager, Slack channel notification
Rearm after: 1 hour
Redash provides a REST API that researchers can use to integrate dashboards into automated workflows.
import requests
REDASH_URL = "http://redash.lab.internal"
redash_key = os.environ["REDASH_API_KEY"]
# Execute a query and get results
def run_query(query_id, parameters=None):
url = f"{REDASH_URL}/api/queries/{query_id}/results"
headers = {"Authorization": f"Key {redash_key}"}
payload = {"parameters": parameters or {}}
response = requests.post(url, json=payload, headers=headers)
job = response.json().get("job", {})
# Poll for results
while job.get("status") not in (3, 4):
result = requests.get(
f"{REDASH_URL}/api/jobs/{job['id']}",
headers=headers
)
job = result.json().get("job", {})
# Fetch final results
result = requests.get(
f"{REDASH_URL}/api/queries/{query_id}/results.json",
headers=headers
)
return result.json()
# Export dashboard data for reporting
results = run_query(42, {"project_id": 7})