Skip to content

Scenario 2 and 3 mainly changed - #24

Open
ashwinvis wants to merge 5 commits into
mainfrom
ai_lesson_Bahar_udates
Open

ashwinvis wants to merge 5 commits into
mainfrom
ai_lesson_Bahar_udates

Conversation

@ashwinvis

Copy link
Copy Markdown
Contributor

Also some small changes to sc. 1

@ashwinvis ashwinvis left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bahar-Tasdighi take a look

- `/share` — share a conversation
- `/help` — show commands
- `/exit` — quit OpenCode

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider keeping clear and compact.

## How OpenCode remembers things: three layers ([docs](https://opencode.ai/docs/rules/))

## How Claude remembers things: three layers ([docs](https://code.claude.com/docs/en/memory))
- **`AGENTS.md`** — persistent project guidance; coding standards, build commands, architecture notes, and team conventions. Put it in the repo root and commit it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link to https://agents.md/ to list all harnesses which honour this "standard"

## How Claude remembers things: three layers ([docs](https://code.claude.com/docs/en/memory))
- **`AGENTS.md`** — persistent project guidance; coding standards, build commands, architecture notes, and team conventions. Put it in the repo root and commit it.
- **Instructions** (opencode.json) — additional instruction sources for more specialized project guidance. Useful for keeping the main AGENTS.md focused. ([docs](https://opencode.ai/v2/docs/instructions))
- **Skills** (`.opencode/skills/<name>/SKILL.md`) — reusable procedures OpenCode can discover and load when relevant, such as releases, migrations, testing, or code review. ([docs](https://opencode.ai/docs/skills/))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Skills** (`.opencode/skills/<name>/SKILL.md`) — reusable procedures OpenCode can discover and load when relevant, such as releases, migrations, testing, or code review. ([docs](https://opencode.ai/docs/skills/))
- **Skills** (`.agents/skills/<name>/SKILL.md`) — reusable procedures OpenCode can discover and load when relevant, such as releases, migrations, testing, or code review. ([docs](https://opencode.ai/docs/skills/))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link to https://agentskills.io/home which specify the format

- Use `/compact` when context fills up, `/clear` between unrelated tasks
- `@filename` to include specific files rather than letting Claude scan everything
- `@filename` to include specific files directly in context
- `!command` to inject shell output directly into context

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/name-of-the-skill to ensure that the skill is invoked.

Comment on lines +167 to +178
```bash
docker build -t irisagent-demo .

docker run -it --rm \
-p 8000:8000 \
-v "$(pwd):/project" \
-w /project \
irisagent-demo bash
```
```bash
opencode
```

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning: if you have tools or skills which interact with the internet, you may need additional flags.

Global configuration, if you want to use that, you will need to "mount it".

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants