Content

As done in the previous week, open the folder for the week, then create a copy of the slide presentation within it. Rename it to your OdinId. Then, open the presentation to create slides showing the results of each exercise.

Skills

In this exercise, you will practice utilizing skills within Claude. Begin, by visiting the "Customize" section of https://claude.ai.

Click on "Skills", then the "+" and "Browse skills" to browse the skills available. Select the /slack-gif-creator skill and install it.

Next, use the skill in a new session to create an animation of your choice.

Next, browse the rest of the skills available for you to add to your workspace. Install a new skill. Then, ask the model to use the skill to perform a task. An example of using the canvas-design skill is below.

Can you use the canvas design skill to create a figure of agent skills and their 
use in Claude?

Claude supports a "meta-skill" called /skill-creator, a skill that can create skills. In this exercise, we'll utilize the skill creator to create and use a skill of our own. Begin by adding the skill to your workspace.

Then, utilize the skill to create a new skill. Some ideas might include:

Then, invoke the creator to create the skill.

Can you use the skill creator skill to create a skill that generates a meme from an 
image?

Add the skill to your workspace, then invoke it.

Personal assistants such as OpenClaw and Muse are agents that you either self-host on your own computer or have a service host for you that provide you an always-on agent that has access to your personal data and on-line accounts. While they may have an advantage of convenience, agentic access to your entire computer and on-line accounts represents a significant security risk. In this exercise, you will utilize a hosted personal assistant to automate simple tasks. Towards this end, you'll leverage the assistant's built-in tools for accessing Google services as well as its ability to interact with a web browser on your behalf to perform authenticated operations on your behalf automatically.

To begin with, visit the Muse site at https://muse.ai . Create an account using your PSU e-mail address. Once created, log into the site and configure the agent and name it using your OdinID.

Muse comes built-in with connections to many different services you might find useful. Prompt the agent to enable connections to Google Drive, GMail, and Google Calendar.

Connect Google Drive. Google Calendar, and GMail

Click on each, sign in with your PSU account, and enable access to the services for Muse.

Ask the agent to send a message to yourself.

Can you e-mail me the slides for Week #1 of AI 112?

Ask the agent to quiz you on the slides.

Give me a multiple choice quiz on the slides for Week #1

Some services do not have an integration with an AI agent or assistant service and can only be accessed by having the agent bring up a web browser and emulate human usage via "computer-use" APIs. One such service is Slack. Prompt the agent to connect up to the Slack workspace for the department.

Connect me to my Slack workspace at pdx-cs.slack.com using a browser

The agent will launch a web browser on your behalf. Click on the "Open preview" button to bring the browser window up.

Then click on "Take control of the browser" and log in through the remote browser session. Click on open Slack in a web browser to bring up the site.

When the workspace comes up, click on "Done" to go back to the agent session.

Prompt the agent to perform the operation below:

Find the slides for the first lecture in AI 112 in my Google Drive, summarize them
in 100 words, and send me a Slack message with the results

Watch as the agent interacts with the browser to send the message.

Finally, Muse works in the background to give you an "always-on" experience. One feature it supports is a scheduled task. Prompt Muse to send you an e-mail summary of all of your unread messages at a particular time in the near future.

Can you generate a summary of under 500 words of all of the unread e-mail messages 
in my GMail account and send it as a direct message to me in Slack at 
<choose a time in the near future>.

Then, prompt Muse to disconnect your Slack workspace.

Disconnect my Slack workspace

Because Muse does not have built-in support for a Slack connector, we relied on its ability to utilize a web browser to log into our Slack workspace and send messages. Another option to integrate Slack is to leverage Muse's support for connecting to external MCP servers. To do so, we'll utilize Composio, a managed hosting provider with support for thousands of MCP server implementations, to host a custom Slack MCP server that we can connect to our workspace. Note that one can connect any number of agents and assistants to our Slack MCP server once it has been set up. Visit https://composio.dev and create an account using your Portland State Google account.

Log into your account and then click on "Apps". Search for the Slack MCP server and connect it.

Once connected, go back to the Composio dashboard, find and click on "Settings".

Then, click on "Sessions & API Key" and copy your Composio API key.

Muse

We'll now connect the Slack MCP server hosted at Composio to our Muse personal assistant. Visit your assistant at https://muse.ai. Then prompt your assistant to connect to the server.

I just set up a Slack MCP server at Composio.  The endpoint is at 
https://connect.composio.dev/mcp . Can you add it and test that it works?

When prompted to enter your Composio consumer key into Muse's secure storage, paste in your API key copied in the previous step. Allow all accesses to requests to Composio so Muse can add the tools provided by the Slack MCP server and test them.

Once the MCP server has been connected and tested, prompt the assistant to send you your calendar events for the week.

Summarize my calendar events for this week and send it to me in Slack as a direct
message.

In this exercise, we'll set up an assistant to take our assignment deadlines in Canvas and add them to our Google Calendar. As before, we'll be utilizing Composio to host a Canvas MCP server that has access to our Canvas account and then connecting Composio's Canvas MCP server to our personal assistant.

Canvas

First, we will set up access to Canvas. Visit PSU's Canvas web site at https://canvas.pdx.edu . Then, click on "Account" and then "Settings". Scroll down to find integrations for third-party applications. Then, create a "New Access Token". Name the token "Composio", set an expiration date for it, then copy the value of the Token. We will be giving this token to Composio so it can access our Canvas account.

Composio

Log into your Composio account and then click on "Apps". Search for the Canvas MCP server and connect it.

Once the Canvas MCP server has been added, connect your PSU account to the MCP server.

When prompted, enter https://canvas.pdx.edu for the Canvas Base URL and paste the Canvas access token copied from the previous Canvas setup steps for the token.

Muse

We'll now connect the Canvas MCP server hosted at Composio to our Muse personal assistant. Visit your assistant at https://muse.ai. Then prompt your assistant to connect to the server.

I just set up a Canvas MCP server at Composio.  The endpoint is at
https://connect.composio.dev/mcp . Can you add it and test that it works?

When prompted, allow all accesses for requests to Composio so Muse can add the tools provided by the Canvas MCP server and test them.

Once the MCP server has been connected and tested, prompt the assistant to find next week's assignment deadline and create a reminder event in Google Calendar for it.

Can you add a Google calendar event for the due date for next week's homework 
assignment for Generative AI Studio?

Then, ask it to add the following week's as well.

Add the next week's homework as well.

If having your Muse agent logged into all of your Google services and accounts makes you nervous, you may simply logout and disconnect them from Muse after you are done with the lab exercise.

Logout of all services and disconnect them from the agent

Confirm disconnection when prompted for each service.

Option #1: Personal assistant applications

Visit the "Ideas" section of Muse at https://muse.ai/ideas

Browse the selection of different uses for the agent. Select several ideas you find useful for yourself and enable the necessary connectors to demonstrate them.

Option #2: Custom MCP agents

Navigate through the library of hosted MCP servers on Composio. Select multiple MCP servers that have not been utilized in prior exercises and add them to one of the public LLM services such as Claude or ChatGPT. Demonstrate their use.

Screencast

Upon completing your demonstrations, via a narrated screencast of no longer than 5 minutes, you will perform a walk-through of the ideas you have explored. Ensure that the video camera is turned on initially in your screencast.

Rubric

We will be using the following rubric to evaluate your homework.

Instructions followed properly including length of screencast and video camera initially turned on

Walkthrough of personal assistant execution including its setup

Number of ideas attempted and demonstrated

Submission

Upload your completed screencast on MediaSpace. Ensure that it is published as "Unlisted". Then, in Canvas, submit the URL that your unlisted screencast on MediaSpace is located.