Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,25 @@ pak::pak("WangLabCSU/geokit")

## Learning geokit

Check out the [guides](https://wanglabcsu.github.io/geokit/) for learning
everything, there is to know about all the different features.
Check out the [guides](https://wanglabcsu.github.io/geokit/) to learn
everything there is to know about the different features.

## Agent skill (remote)
## Agent skill

A scientific Agent Skills file for AI agents is published once with the
documentation site:
geokit ships an [Agent Skills](https://agentskills.io) file that teaches AI
coding assistants how to use the package effectively — searching GEO,
downloading data, parsing metadata, and chatting with LLMs — without reading
the full documentation first. The file is served as plain Markdown together
with this website, so your assistant can fetch it directly, no installation
required:

```bash
curl -fsSL https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
```

<https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md>
- Skill file: <https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md>
- Landing page: <https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.html>
- Source: [pkgdown/assets/skills/geokit/SKILL.md](https://github.com/WangLabCSU/geokit/blob/main/pkgdown/assets/skills/geokit/SKILL.md)

The file lives in this repository and is deployed with the documentation
site, so it stays in sync with the released docs.
28 changes: 20 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,28 @@ pak::pak("WangLabCSU/geokit")

## Learning geokit

Check out the [guides](https://wanglabcsu.github.io/geokit/) for
learning everything, there is to know about all the different features.
Check out the [guides](https://wanglabcsu.github.io/geokit/) to learn
everything there is to know about the different features.

## Agent skill (remote)
## Agent skill

A scientific Agent Skills file for AI agents is published once with the
documentation site:
geokit ships an [Agent Skills](https://agentskills.io) file that teaches
AI coding assistants how to use the package effectively — searching GEO,
downloading data, parsing metadata, and chatting with LLMs — without
reading the full documentation first. The file is served as plain
Markdown together with this website, so your assistant can fetch it
directly, no installation required:

```bash
curl -fsSL https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
``` bash
curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
```

<https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md>
- Skill file:
<https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md>
- Landing page:
<https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.html>
- Source:
[pkgdown/assets/skills/geokit/SKILL.md](https://github.com/WangLabCSU/geokit/blob/main/pkgdown/assets/skills/geokit/SKILL.md)

The file lives in this repository and is deployed with the documentation
site, so it stays in sync with the released docs.
76 changes: 76 additions & 0 deletions pkgdown/assets/skills/geokit/SKILL.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>geokit &middot; Agent Skill</title>
<style>
:root { color-scheme: light dark; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
max-width: 46rem;
margin: 0 auto;
padding: 2.5rem 1.25rem 4rem;
line-height: 1.6;
}
h1 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.subtitle { opacity: 0.75; margin-top: 0; }
code, pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.9em;
}
pre {
padding: 0.9rem 1rem;
border-radius: 6px;
overflow-x: auto;
border: 1px solid rgba(128, 128, 128, 0.35);
}
.card {
border: 1px solid rgba(128, 128, 128, 0.35);
border-radius: 8px;
padding: 1rem 1.25rem;
margin: 1.25rem 0;
}
a.button {
display: inline-block;
padding: 0.45rem 0.9rem;
margin-right: 0.5rem;
border-radius: 6px;
border: 1px solid rgba(128, 128, 128, 0.5);
text-decoration: none;
}
a.button.primary {
background: #375f7b;
border-color: #375f7b;
color: #fff;
}
</style>
</head>
<body>
<h1>geokit Agent Skill</h1>
<p class="subtitle">Teach AI coding assistants how to use geokit effectively.</p>

<p>
<code>SKILL.md</code> is an <a href="https://agentskills.io">Agent
Skills</a> file for geokit, an R interface to the NCBI Gene Expression
Omnibus (GEO). It condenses the package's search, download, parsing, and
chat helpers into a reference that AI coding assistants can read before
writing code. The file is deployed with this documentation site and always
matches the released documentation.
</p>

<div class="card">
<p><strong>Fetch it for your agent</strong> &mdash; the canonical URL is
the Markdown file below; point your assistant at it or download it
directly:</p>
<pre>curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md</pre>
</div>

<p>
<a class="button primary" href="SKILL.md">Open SKILL.md</a>
<a class="button" href="https://github.com/WangLabCSU/geokit/blob/main/pkgdown/assets/skills/geokit/SKILL.md">View source</a>
<a class="button" href="../../index.html">Documentation home</a>
</p>
</body>
</html>
32 changes: 16 additions & 16 deletions pkgdown/assets/skills/geokit/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ metadata:
author: WangLabCSU
package: geokit
version: "0.0.2"
homepage: https://WangLabCSU.github.io/geokit/
homepage: https://wanglabcsu.github.io/geokit/
repository: https://github.com/WangLabCSU/geokit
skill-url: https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md
docs: https://WangLabCSU.github.io/geokit/reference/
skill-url: https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md
docs: https://wanglabcsu.github.io/geokit/reference/
---

# geokit — NCBI GEO toolkit for R
Expand Down Expand Up @@ -57,10 +57,10 @@ Do **not** invent GEO accessions or pretend downloads succeeded without network
Single canonical file (Agent Skills layout under the pkgdown site):

```bash
curl -fsSL https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
curl -fsSL https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md -o SKILL.md
```

Package documentation site: <https://WangLabCSU.github.io/geokit/>
Package documentation site: <https://wanglabcsu.github.io/geokit/>

## Installation

Expand Down Expand Up @@ -442,17 +442,17 @@ Always parameterize `odir`, record accessions + date + geokit version in analysi

| Resource | URL |
|----------|-----|
| Home | https://WangLabCSU.github.io/geokit/ |
| This skill | https://WangLabCSU.github.io/geokit/skills/geokit/SKILL.md |
| Reference | https://WangLabCSU.github.io/geokit/reference/ |
| Search vignette | https://WangLabCSU.github.io/geokit/articles/geo-search.html |
| Metadata DB vignette | https://WangLabCSU.github.io/geokit/articles/geometadb.html |
| Chat vignette | https://WangLabCSU.github.io/geokit/articles/geo-chat.html |
| Case study: diabetic nephropathy | https://WangLabCSU.github.io/geokit/articles/case-diabetic-nephropathy.html |
| Case study: urothelial cancer | https://WangLabCSU.github.io/geokit/articles/case-urothelial-cancer.html |
| SOFT vignette | https://WangLabCSU.github.io/geokit/articles/geo-soft.html |
| Matrix vignette | https://WangLabCSU.github.io/geokit/articles/geo-matrix.html |
| Suppl vignette | https://WangLabCSU.github.io/geokit/articles/geo-suppl.html |
| Home | https://wanglabcsu.github.io/geokit/ |
| This skill | https://wanglabcsu.github.io/geokit/skills/geokit/SKILL.md |
| Reference | https://wanglabcsu.github.io/geokit/reference/ |
| Search vignette | https://wanglabcsu.github.io/geokit/articles/geo-search.html |
| Metadata DB vignette | https://wanglabcsu.github.io/geokit/articles/geometadb.html |
| Chat vignette | https://wanglabcsu.github.io/geokit/articles/geo-chat.html |
| Case study: diabetic nephropathy | https://wanglabcsu.github.io/geokit/articles/case-diabetic-nephropathy.html |
| Case study: urothelial cancer | https://wanglabcsu.github.io/geokit/articles/case-urothelial-cancer.html |
| SOFT vignette | https://wanglabcsu.github.io/geokit/articles/geo-soft.html |
| Matrix vignette | https://wanglabcsu.github.io/geokit/articles/geo-matrix.html |
| Suppl vignette | https://wanglabcsu.github.io/geokit/articles/geo-suppl.html |
| Source | https://github.com/WangLabCSU/geokit |
| Issues | https://github.com/WangLabCSU/geokit/issues |
| GEO query tutorial | https://www.ncbi.nlm.nih.gov/geo/info/qqtutorial.html |
Expand Down
Loading