Skip to content
Agentmart
Submit a tool

Dayarc Upgrade

Check for and apply updates to the Dayarc agent package from GitHub.

Skill by YuiZhou

IndexedMIT★ 2
Write a review

Chalk Labs

Need help deploying Dayarc Upgrade?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yuizhou-dayarc-upgrade

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Check for and apply updates to the Dayarc agent package from GitHub.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dayarc-upgrade

What's inside

Skill name
Dayarc Upgrade
Description
Check for and apply updates to the Dayarc agent package from GitHub.
License
MIT
Instructions
200 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "Dayarc Upgrade" does not match folder "dayarc-upgrade"

Files (1)

  • SKILL.md

SKILL.md (first lines)

## When to Use

User asks to update, upgrade, or check for new versions of the agent — including upgrading to a specific branch or commit, or returning to stable `main`.

## Detecting Install Method

First, determine how Dayarc was installed:

```powershell
# Check plugin install
$pluginHit = Get-ChildItem -Path (Join-Path $HOME ".copilot\installed-plugins") -Filter "plugin.json" -Recurse -ErrorAction SilentlyContinue | Where-Object {
    (Get-Content $_.FullName -Raw | ConvertFrom-Json).name -eq "dayarc"
} | Select-Object -First 1

# Check git clone
$cloneDir = Join-Path $HOME ".dayarc-agent"
$isClone = Test-Path (Join-Path $cloneDir ".git")
```

- **Plugin install** → `$pluginHit` exists → use `copilot plugin update dayarc`
- **Git clone** → `$isClone` is true → use git-based upgrade (below)
- **Neither found** → tell user to reinstall

## Plugin Upgrade

If installed as a plugin, **do not run the upgrade yourself.** Plugin upgrades are managed by the Copilot CLI's built-in slash command, which only the user can invoke from chat. Instruct the user:

> To upgrade the Dayarc plugin, run `/plugin update dayarc` in this chat. Once it finishes, ask me again and I'll re-register the scheduler if needed.

If the user reports the slash command has completed, run the **After Update** scheduler re-registration steps (skip the file-copy step — the plugin system handles that).

**Preview branches are not supported for plugin installs.** If the user asks for a preview branch, tell them to use the git clone install method instead.

## Git Clone Upgrade

### Detecting Preview Mode

Check whether `~/.dayarc-agent/.preview` exists. If it does, warn the user:

> ⚠️ **Preview build active** — you are running a pre-release commit (`<contents of .preview>`). This build may be unstable. Say *"upgrade to stable"* to return to `main`.

### Check for Updates

```
cd ~/.dayarc-agent
git fetch origin main
```

Compare `HEAD` vs `origin/main`:
- If identical → "Already up to date."
- If behind → show new commits: `git log HEAD..origin/main --oneline`

### Apply Update (stable, default)

```
git pull --ff-only origin main
```

If fast-forward fails (local modifications), tell the user:
> Local changes detected. Run `irm https://raw.githubusercontent.com/YuiZhou/dayarc-agent/main/setup.ps1 | iex` to reinstall cleanly.

After a successful stable update, if `~/.dayarc-agent/.preview` exists, delete it.

### Preview Upgrade (branch or commit)

Triggered when the user says something like:
- *"upgrade to branch feat/triage-bot"*
- *"upgrade to commit abc1234"*
- *"preview branch feat/new-feature"*

Steps:

1. **Warn** the user upfront:
   > ⚠️ Preview builds may be unstable and are not suitable for production use. Proceed?

   Wait for explicit confirmation ("yes" / "ok" / "proceed"). If the user does not confirm, abort.

2. **Guard local changes** — stash any uncommitted changes first:
   ```powershell
   cd ~/.dayarc-agent
   git stash --include-untracked
   ```
   Note the stash result. If the working tree is clean, note that too (nothing to stash).

3. **Fetch the ref**:
   ```powershell
   git fetch origin <branch-or-sha>
   ```
   If the ref looks like a branch name (not a 40-char or abbreviated hex SHA), fetch it as:
   ```powershell
   git fetch origin refs/heads/<branch>:refs/remotes/origin/<branch>
   ```

4. **Resolve to a commit SHA**:
   ```powershell
   git rev-parse FETCH_HEAD
   ```

5. **Detach HEAD to that commit**:
   ```powershell
   git checkout --detach FETCH_HEAD
   ```

6. **Write the `.preview` marker** with the ref description and resolved SHA:
   ```
   feat/triage-bot @ abc1234f
   ```
   Full path: `~/.dayarc-agent/.preview`

7. **Run After Update steps** (copy files, re-register scheduler if applicable).

8. **Report**:
   > ✅ Now running preview: `feat/triage-bot @ abc1234f`. Say *"upgrade to stable"* to return to `main`.

If `git fetch` or `git checkout` fails (e.g., invalid ref), tell the user the ref could not be found and abort without modifying any files.

### Return to Stable

Triggered when the user says *"upgrade to stable"*, *"rollback"*, or *"go back to main"*.

From YuiZhou/dayarc-agent, MIT.

More from YuiZhou/dayarc-agent

Signals

Stars
2
Forks
2
Open issues
7
Last commit (this folder)
Apr 30, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from YuiZhou

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get Dayarc Upgrade running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying Dayarc Upgrade?

CallGet help
Cite this page

Dayarc Upgrade skill. Agent Mart. https://agentmart.dev/skills/yuizhou-dayarc-upgrade (last updated 2026-10-24)